Binpress components2012-11-13T20:03:54+00:00Zend_Feed_Writerhttp://www.binpress.comBinpresscontact@binpress.comhttp://www.binpress.com2012-11-13T20:03:54+00:002012-11-13T20:03:54+00:00http://www.binpress.com/app/udp-web-listener/1188David Acevedonoreply@binpress.comhttp://www.binpress.comdev/profile/16411Through the Web listener you can obtain and to send UDP data packets from one or more devices simultaneousWeb Listener Library
Through the Web listener you can obtain and to send UDP data packets from one or more devices simultaneously.
The Web listener can run in the background, allowing your web
application can operate without problems while receiving data from a GPS device.Solve the problem to enable a Web Listener in asp.net technology to receive and send packets from the Web and in the background.Was tested on .Net framework 3.5 and 4.0, using VS2008 and VS2010.For testing were used 2 GPS LANTRIX T1800.
The devices transmit data every 3 minutes2011-08-20T05:20:12+00:002011-08-20T05:20:12+00:00http://www.binpress.com/app/sharpauthorize-net-component/554Reflection Software Solutions Pvt. Ltd.noreply@binpress.comhttp://www.binpress.comdev/profile/4001SharpAuthorize is a Authorize.Net & C#, VB integration component for credit card processing.SharpAuthorize component helps to easily add credit card processing through Authorize.NET to your ASP.NET website or desktop application written in C# or VB.NET. Whether you simply need the minimum level of integration with Authorize.net's AIM API or need access to every attribute, SharpAuthorize has you covered.2011-06-05T11:06:19+00:002011-06-05T11:06:19+00:00http://www.binpress.com/app/rejuicer/456Sam Kroonenburgnoreply@binpress.comhttp://www.binpress.comdev/profile/478Rejuicer is a CSS & JavaScript minification tool for ASP.NET.Rejuicer is a CSS & JavaScript minification tool for ASP.NET.What does it do?You can configure Rejuicer to combine many different JavaScript (or CSS) files into one file, and give this “combined” file a URL:eg. http://mysite.com/combined.jsWhen combined.js is requested, Rejuicer will combine all of the JavaScript files that you have configured for this URL, and then (optionally) minify the output for optimal page load times.Why use a minifier?Minifiers help to reduce page load times, by minimizing the size of the JavaScript and CSS files that need to be downloaded by a user visiting your site. Also, by combining multiple files into one, you can minimize the number of requests made to your server. Many browsers limit the number of simultaneous requests to one domain to 4 or 5, so it can really help to bring down all of the required CSS or JavaScript in one request.How is it different?There are several good minification tools out there, but we think there are several features that make Rejuicer unique:Fluent ConfigurationUse a simple, readable fluent configuration. Configure all of your minifications inside Global.asax, so that they run once at application start.Wildcard MatchingInclude all files in a directory matching a wildcard (eg ~/Scripts/AdminPages/.js, or ~/Scripts/jquery.js)Makes Debugging EasyRejuicer’s HTML helpers automatically detect if debug mode is turned on and if so – will reference your original source JavaScript files, without performing any combine/minification operations. This allows you to reference your original JavaScript files directly in development environments for easy debugging.Windows Azure FriendlyRejuicer integrates into your site as either a HTTP Module or HTTP Handler. It nevers writes to the local filesystem, and therefore runs without issue on cloud providers such as Windows Azure.Yahoo!Rejuicer uses the awesome Yahoo YUI compressor library to perform all JavaScript and CSS minification operations.2011-04-10T23:04:18+00:002011-04-10T23:04:18+00:00http://www.binpress.com/app/custom-dropdownlist/248Blagovest Petrovnoreply@binpress.comhttp://www.binpress.comdev/profile/559A customizable DropDownList controlThe default DropDownList control for ASP.NET is not very flexible - sometimes we need to fit a dropdown control in tight space or consider other layout restrictions that don't mix well with the default dropdown control.This DropDownList control is similar to the default but without the arrow (to make it slimmer) and comes with easily customizable CSS.You can change properties such as:Width Height Row height CSS styles through the includes CSS file Maximum rows shownAnd more.Included in the package is a test page where the functionality of the custom DropDownList is demonstrated.2011-04-06T22:46:20+00:002011-04-06T22:46:20+00:00http://www.binpress.com/app/fscauth/231Jordan Earlsnoreply@binpress.comhttp://www.binpress.comdev/profile/417A fast, secure, concise, and yet, complete authentication implementation in ASP.NetWhat is FSCAuth?FSCAuth is short of Fast, Secure, and Concise Authentication. It's designed to be a flexible replacement for ASP.Net Forms Authentication. It is designed around a very minimalistic interface to your database, IUserStore.LicensingFSCAuth is 3-clause BSD licensed. This means it's free for commercial use! The paid options are for support.Why use FSCAuth?The main reason I use FSCAuth is that it saves me time and I don't have to use as much code to describe how I want it to react. I created it initially because ASP.Net Forms Authentication required too much work for a trivial login system. Everyone has basically said there are only two options for authentication, ASP.Net Forms Auth or roll your own. Well, I've rolled my own so that people have a third option now.How does it save time?FSCAuth is very straight forward to use. Just glancing over the Intellisense documentation is generally enough to get started. For setup only 2 fields must be populated in Global.asax and a UserStore must be implemented(which is only 4 easy functions). After that, you're ready to show off awesome code like this:protected void Page_Load(object sender, EventArgs e){ //the load event for my secret page
//Some secret stuff you don't want to show to people
Authentication.RequiresInGroup("secret"); //will throw an HTTP 403 error if they are not in the group and redirect them to your 403 error page.
}
or evenprotected void Page_Load(object sender, EventArgs e){
if(Authentication.IsAuthenticated){
AuthenticatedPanel.Visible=false;
}else{
AuthenticatedPanel.Visible=true;
}
}
On top of this easy, but fine grained authorization, you also NEVER have to worry about handling cookies or HTTP Basic Auth yourself. The only thing that developers using FSCAuth have to worry about is the UserStore.Is it secure?Right from the beginning Fast, Secure, and Concise Authentication was designed to be fool proof for security. I never make you implement any low level details of the authentication. This makes it so that there is much less risk in extending your authentication system. It was designed to be secure enough that even if a dump of the database behind it got leaked, your user's credentials would be safe, and hackers would still not be capable of logging in. All passwords are hashed and salted. All login cookies are practically impossible to forge with today's hardware.Don't take my word for it though; check out the source code. The source code is not overly complex and at the core is only a few hundred lines including comments.Is it fast?Speed is the wrong word to use for an authentication framework. I prefer efficiency. One of FSCAuth's best points is that only 1 database hit is required for everything except for creating a user. It can actually be made to not require a database hit depending on how the UserStore is implemented. FSCAuth plays nice with caching.By default, FSCAuth uses SHA256 for hashing, which is the most common hashing algorithm for passwords right now. If you prefer a slower hashing method(for security) you can either change algorithms to any hash algorithm that implements System.Security.Cryptography.HashAlgorithm, or you can change the number of iterations the hash algorithm is used (default is 1). Also, BCrypt hashing is supported. See this blog postThere is no need for a persistence of session state. So no extra memory is used on your servers, nor messy tables in your database. This is a "stateless" authentication system.What's capable?This library is capable, of course, of adding and authenticating users. It also includes simple one-line checks for operations such as checking if a user is logged in, and checking if they are enrolled in a group. Also included in the latest release is the ability to use HTTP Basic Authentication just as simply as you'd use cookie based authentication.LimitationsWell, I have to tell you, FSCAuth isn't perfect, but it's pretty close to the needs I've seen. Currently, FSCAuth lacks quite a few features supplied by ASP.Net Forms Authentication. Some of this is by design and some of it will be implemented in a later release. Anyway, FSCAuth doesn't implement any of the following: Emailing a user their password, a ready-made user registration wizard, controlling authorization with attributes on functions and classes, password strength requirements, Windows/Passport authentication, Role/Task/Group multilevel support (there is only groups), and probably quite a bit more. Most of the lacking features are by design. I've never seen the built-in registration wizard used on an ASP.Net site in the wild; so I won't implement something that most people want to create themselves anyway. Rather, this project is designed to be used where Forms Authentication doesn't work well. This means that using something other than GUIDs is easy, Implementing a custom user database(or using an existing database) is straight forward, and tying it to your database can be done in less than 200 lines of code in most cases(SQL Server UserStore is 171 lines). Keep in mind also though, that FSCAuth can be used as a base for creating your own custom authentication system. The source code is provided with every paid license.What's included?The main authentication module(source code and assembly)Generic in-memory list UserStore implementationSQL Server UserStoreASP.Net Login custom controlASP.Net Logout custom controlASP.Net example web application CompatibilityFramework versions: Mono 2.0 or greater(possibly works with earlier versions), .Net 2.0 and greater(below 2.0 must degrade to Managed SHA256)Windows OS support: Windows XP(1), Server 2003, Server 2008, Vista, and 7. (32 and 64 bit)*nix OS support: Linux, OpenBSD (should work in other OSs as well with mono)Servers: mono-xsp, Cassini, IIS6(2), IIS7, IIS7.5, Apache with mod_monoComes with example UserStores for SQL Server and MongoDB. They are easy to adapt to custom needs.Runs within Medium Trust(3)Works equally well for both Webforms and ASP.Net MVCRuns without modifications in a web cluster(no secret caching is done behind the scenes)Notes:Using Windows XP, you must degrade to the Managed SHA256 implementation due to lack of OS supportUsing IIS6, I have not yet found a way to protect static filesIn medium trust, CustomErrorsFixer does not work, which fixes error pages to return the proper HTTP status code. AuthPage must be populated with the 401 error page if using HTTP Basic Auth in Medium Trust.More documentation:A MongoDB example UserStoreThe semi-formal specification of how each value is salted and hashedFSCAuth's Doxygen API referenceSQL Server UserStore2011-02-24T20:56:04+00:002011-02-24T20:56:04+00:00http://www.binpress.com/app/paneljax/175Sam Kroonenburgnoreply@binpress.comhttp://www.binpress.comdev/profile/478panelJAX enables you to rapidly build rich async-enabled web-sites.panelJAX enables you to rapidly build rich async-enabled web-sites. It integrates with ASP.NET MVC and allows you to make business logic decisions server-side, that control your UI client-side. Best of all, there's nothing new to learn. You can continue building your HTML views that same way you always have, and panelJAX seamlessly ajaxifies it!panelJAX is a jQuery plugin, and .NET assembly containing helpers and attributes for ASP.NET MVC.-- DEMO --MVC port of the iPad Twitter ApplicationThis is an example of a rich ajax web-site built very quickly with panelJAX. 2011-02-22T18:48:47+00:002011-02-22T18:48:47+00:00http://www.binpress.com/app/cache-objects-manager/152Vegi & Fist INCnoreply@binpress.comhttp://www.binpress.comdev/profile/283Small class for managment of caching objects. Easily adds categories for your cache if you don't want to get your hands dirty with lots of coding.This class enables you easy creation of key/category pairs for your cache keys if you use Caching.Cache object in .NET framework in your ASP.NET application.To use this class just add it to your project and set up categories you wish in CacheCategories class and edit the constants for global Application wide session key to keep your cache key/category pairs. Quick methods that use the cache objec in the right way are included2011-02-21T07:51:49+00:002011-02-21T07:51:49+00:00http://www.binpress.com/app/dotnet-transform-image/141Matt Passnoreply@binpress.comhttp://www.binpress.comdev/profile/126Resize, scale, crop and flip image transforms are easy with DotNet Transform Image. Just pass through POST form values to this component and it will create your transformed image automatically.Transforming images is easy with the DotNet Transform Image component. You can scale, crop, rotate and flip your image in order to get it transformed to your requirements.Because it's a chunk of code you can call on, it's great for multiple file processing, such as multiple image resizing, but also fine for single image processing too, perhaps upon user request to rotate the image, for instance.UsageCopy the dotnet-transform-image.aspx to your website root folder. Create 3 new folders in the root, titled display, originals and output. display is where you have a smaller version of your image to display to the user. originals is where you have your high quality original image which the output image will work from. output is where your image will be saved.To use this component, just POST your form values to dotnet-transform-image.aspx as follows;tImageWidth = The width of the image as an integer number onlytImageHeight = The height of the image as an integer number onlytImageCropStartX = The top left x-coordinate of the crop box area, integer number onlytImageCropStartY = The top left y-coordinate of the crop box area, integer number onlytImageCropEndX = The bottom right x-coordinate of the crop box area, integer number onlytImageCropEndY = The bottom right y-coordinate of the crop box area, integer number onlytImageRotate = The degrees to rotate as an integer - either 0, 90, 180 or 270tImageFlipX = 1 to not flip on the x-axis, -1 to flip on the x-axis, integer number onlytImageFlipY = 1 to not flip on the y-axis, -1 to flip on the y-axis, integer number onlytImageName = The name of the imageThese values when passed to the ASPX page will transform the image as you request. Easy!Because this component works from a smaller screen display version plus a seperate high quality version, you have the speed of viewing the image quickly and the quality of a master version to use for transformation processing (which means you can choose to scale images upwards and get a high quality output image).Documentation and demo example included with component.2011-02-07T22:40:54+00:002011-02-07T22:40:54+00:00http://www.binpress.com/app/custom-configuration-provider-for-appfabric-caching/88nutrineer.comnoreply@binpress.comhttp://www.binpress.comdev/profile/289This solution provides a custom configuration provider for appfabric caching based on amazon S3. This fixes the problem of the configuration file single-point-of-failure for appfabric.By default, AppFabric caching provides two configuration stores: a SQL server store and an XML file store. These two options defeat the purpose of the distributed caching mechanism which is to avoid a single point of failure.This solution provides and demonstration of a custom configuration provider for AppFabric caching that avoids the single point of failure problem by using S3 to give greater uptime.You can create your own datastore by implementing the IDataStoreProxy interface and injecting the new implementation into the TransactionContext. Look at the existing AmazonProxy for guidance.The solution contains 4 projectsA WinForms executable project that creates the UI for the custom configuration provider to be used by the AppFabric wizardA library which contains the custom implementation of ICustomProvider which uses Amazon S3 as the configuration store (as opposed to a SQL database or a shared folder)A test project with some very light testsA deployment project which will set up all of the registry keys necessary and place the executable and library into the appropriate folders.Please see the content pages for installation instructions