| Solentive News |
|
|
[click for more...]
|
|
The generic Dictionary collection class in .NET requires the key to be unique. But many applications/services require a flexible, generic Dictionary collection type that can accept multiple values for a key. This article explains one such generic Dictionary collection type.
9/03/2009
[Link]
Bharath K A
|
|
|
|
[click for more...]
|
|
The Article will guide you with complete knowledge of how to add a google map in your webpage with knowledge of JAVASCRIPT, Use of Geocoder, Use of InfoWindow, Use of Marker, Tabbed Markers, Maximising marker, Creating context menu in your map
9/03/2009
[Link]
Abhishek Sur
|
|
|
|
[click for more...]
|
The Wiki continues to grow with updated Wiki Articles on State Management, Themes in ASP.NET, ASP.NET Open Source Projects, and more. Share your knowledge and earn Community Recognition points by contributing to the ASP.NET Wiki.
9/03/2009
[Link]
ASP.NET News
|
|
|
|
[click for more...]
|
ASP.NET MVC enables Web developers to build compelling standards-based Web solutions that are easy to maintain because it decreases the dependency between layers by using the Model-View-Controller (MVC) pattern and provides complete control over the page markup. It also improves testability which enables Test Driven Development (TDD). Click here to download ASP.NET MVC or to learn more about it.
9/03/2009
[Link]
ASP.NET News
|
|
|
|
[click for more...]
|
|
More professional ASP.NET c# search with proper document summary, query highlighting and RIA display options.
9/03/2009
[Link]
craigd
|
|
|
|
[click for more...]
|
Call Handlers are Enterprise Library's extension mechanism. They allow code to be injected before or after a method is called. Enterprise Library, as of version 4.1, comes with the following call handlers and associated handler attributes, in assembly Microsoft.Practices.EnterpriseLibrary.PolicyInjection.CallHandlers:
-
AuthorizationCallHandler / AuthorizationCallHandlerAttribute
-
CachingCallHandler / CachingCallHandlerAttribute
-
ExceptionCallHandler / ExceptionCallHandlerAttribute
-
LogCallHandler / LogCallHandlerAttribute
-
PerformanceCounterCallHandler / PerformanceCounterCallHandlerAttribute
-
ValidationCallHandler / ValidationCallHandlerAttribute
If you know the Enterprise Library, you can easily guess their meaning from their names.
I have written two additional call handlers:
-
TransactionCallHandlerAttribute (implements ICallHandler): wraps the target method in a transaction scope
-
TriesCallHandlerAttribute (implements ICallHandler): tries to invoke the target method a number of times, while an exception is thrown
For simplicity's sake, I have implemented ICallHandler in the attribute class, so the ICallHandler.CreateHandler method only returns this.
Usage is like this:
[TransactionCallHandler(TransactionScopeOption.Required)]
void SomeMethod();
and
[TriesCallHandler(3, Delay = 500)]
void SomeOtherMethod();
Enjoy!
9/03/2009
[Link]
|
|
|
|
[click for more...]
|
When using master pages, the normal page event lifecycle is a little different. Here is the actual order:
- Page.OnPreInit
- MasterPageControl.OnInit (for each control on the master page)
- Control.OnInit (for each contol on the page)
- MasterPage.OnInit
- Page.OnInit
- Page.OnInitComplete
- Page.OnPreLoad
- Page.OnLoad
- MasterPage.OnLoad
- MasterPageControl.OnLoad (for each control on the master page)
- Control.OnLoad (for each contol on the page)
- Page.OnXXX (control event)
- MasterPage.OnBubbleEvent
- Page.OnBubbleEvent
- Page.OnLoadComplete
- Page.OnPreRender
- MasterPage.OnPreRender
- MasterPageControl.OnPreRender (for each control on the master page)
- Control.OnPreRender (for each contol on the page)
- Page.OnPreRenderComplete
- MasterPageControl.SaveControlState (for each control on the master page)
- Control.SaveControlState (for each contol on the page)
- Page.SaveViewState
- Page.SavePageStateToPersistenceMedium
- Page.OnSaveStateComplete
- MasterPageControl.OnUnload (for each control on the master page)
- Control.OnUnload (for each contol on the page)
- MasterPage.OnUnload
- Page.OnUnload
9/03/2009
[Link]
|
|
|
|
[click for more...]
|
Gizmox released its Visual WebGui development environments' version 6.3.3 as a further stabilization of the 6.3 Ajax framework/platform for developing and deploying RIAs. This version is released only a few days after 6.3.2 and it solves the following issue. This is the change log for version 6.3.3 Bugs fix ---------------------------------------------------------------------------------------------- VWG-4128 - Showing of dialog form or messagebox from with in a dialog form should not hang browser...( read more)
9/03/2009
[Link]
|
|
|
|
[click for more...]
|
|
Implementation of a software tool in C# to help to manage .resx files for .NET or .properties files for Java or AS3 of different locales.
9/03/2009
[Link]
bhan2000
|
|
|
|
[click for more...]
|
|
Component that extends the native .net progress bar with percentage properties and the ability to display it in the progress bar.
9/03/2009
[Link]
bn2vs
|
|
|
|
[click for more...]
|
|
Stephen Walther demonstrates how you can validate form data in an ASP.NET MVC application. Learn how to use model state and validation HTML helpers. Learn how to take advantage of the IDataErrorInfo interface to customize your validation error messages.
9/03/2009
[Link]
ASP.NET News
|
|
|
|
[click for more...]
|
|
Full-fledged ATL Windowless ActiveX Container. Ideal for hosting Windows Media Player, Transparent Flash and Silverlight Animations.
9/03/2009
[Link]
Ernest Laurentin
|
|
|
|
[click for more...]
|
In order to have dependency injection on your ASP.NET pages, the best way to go is through a customized page handler factory. A page handler factory is a class directly or indirectly derived from PageHandlerFactory who has the responsibility to create a new instance of a Page. What we do is, we call the base class implementation of GetHandler method and then we call IUnityContainer's BuildUp method. Of course, we must also
-
have previously initialized the Unity container, possibly on Application_Start method of Global.asax.cs
-
configure interceptors for the types you want in Web.config. In this example, since I am registering an interface, I will be using InterfaceInterceptor, but you can also use VirtualMethodInterceptor or TransparentProxyInterceptor. I will talk about these in a future post.
-
replace the existing page handler factory with our onw in Web.config
See the attached code, and replace ISomething for your own interface and ConcreteSomething, in Web.config, for the actual implementation of this interface.
9/03/2009
[Link]
|
|
|
|
[click for more...]
|
|
The objective behind writing this article is to make use of Ajax Control Toolkit in implementation.
9/03/2009
[Link]
ashishparihar1310
|
|
|
|
[click for more...]
|
|
Rollback or commit changes that you did on .NET objects.
9/03/2009
[Link]
Ronald Schlenker
|
|
|
|
[click for more...]
|
|
Automatically minify, combine, compress, and cache .js and .css files in your ASP.NET project
9/03/2009
[Link]
jeff chin xyz
|
|
|
|
[click for more...]
|
The new case study was published on the visualwebgui.com showcases section: Visual WebGui saves a multi-lingual search engine 2 years and $250k This case showcases the remarkable cost savings of the development and deployment process of FindItByMe.com multi-lingual search engine with Visual WebGui. The project was to create a multi-lingual search engine that runs as a website that is accessible to the public from any standard web browser. This means that any internet user should be able to surf onto...( read more)
9/03/2009
[Link]
|
|
|
|
[click for more...]
|
|
Using a proper MVC pattern to stream an image from Microsoft Chart controls for the Microsoft .NET Framework 3.5.
9/03/2009
[Link]
Nic_Roche
|
|
|
|
[click for more...]
|
Enterprise Library comes with several lifetime manager, which you can use to control how your objects are stored and retrieved. The available lifetime managers are:
-
ExternallyControlledLifetimeManager: stores a weak reference to objects which are created elsewhere
-
PerThreadLifetimeManager: stores objects in a thread static dictionary)
-
ContainerControlledLifetimeManager (the default): stores objects in the Unity container
-
TransientLifetimeManager: does not store objects, create a new one every time it is requested
In web applications, we may need additional options, for example:
-
Store objects in the current session
-
Store objects in the current request
-
Store objects in the current application
So, I wrote three new lifetime managers, for each of these requirements: WebSessionLifetimeManager, WebRequestLifetimeManager and WebApplicationLifetimeManager. Another possibility would be a pooled lifetime manager, which will be the subject for a future post.
9/03/2009
[Link]
|
|
|
|
[click for more...]
|
|
Showing the features of a flexible ASP.NET event calendar/scheduling control.
9/03/2009
[Link]
Dan Letecky
|
|