Welcome to Bangladesh Microsoft Technology Community Sign in | Join | Help

November 2006 - Posts

Consider using XmlTextReader over XmlDocument

Do you know XmlDocument or XPathDocument creates an in memory representation of the entire XML document. And this typically consume memory equivalent to three or four times of the size of the XML document on disk.On the other hand XmlTextReader, loads
posted by Shahed | 0 Comments

SmartCodeGenerator (ASP.NET 2.0) CTP1 uploaded at Codeplex

The CTP1 of SmartCodeGenerator can be also downloaded from CodePlex.http://www.codeplex.com/Release/ProjectReleases.as... And the homepage for this project at Codeplex ishttp://www.codeplex.com/smartcodegeneratorI am also in the process of building the
posted by Shahed | 0 Comments

Some quick tips for Asp.Net Application Performance Tuning

Sometimes when you want to quickly tune asp.net application the following points can be checked (not in any particular order) as it requires minimal code changes to the application. 1. Analyze Database while running the application, via sql profiler.
posted by Shahed | 0 Comments

Some quick tips for Asp.Net Application Performance Tuning

Sometimes when you want to quickly tune asp.net application the following points can be checked (not in any particular order) as it requires minimal code changes to the application. 1. Analyze Database while running the application, via sql profiler.
posted by Shahed | 0 Comments

SmartCodeGenerator (Asp.Net) at CodePlex

Hi Guys I have started moving SmartCodeGenerator to CodePlexhttp://www.codeplex.com/smartcodegenerator For the time being please stick to the old links:Tutorials : http://www.smartcodegenerator.com GotDotnet Link: http://www.gotdotnet.com/codegallery/codegallery.aspx?id=cdb291ef-b7ee-4dec-aa29-6ba8d7790540
posted by Shahed | 0 Comments

Handy Regex expression to validate/format string

Found these handy collection of regex expressions in this site:http://rgagnon.com/jsdetails/js-0063.html. I did not test all of them though.... Use regular expressions to validate/format a stringThis is an impressive collection (that I found somehere
posted by Shahed | 0 Comments

SmartCodeGenerator (asp.net2.0) All Examples at one place.

All of the 4 Examples that familiarize you to SmartCodeGenerator (asp.net2.0) are compiled together and uploaded herehttp://www.smartcodegenerator.com/ And please download the SmartCodeGenerator CommunityDrop1 from Gotdotnet.
posted by Shahed | 0 Comments

SmartCodeGenerator (Asp.Net2.0) Released at GotDotNet

I am very excited to share with you that I have finally released the CommunityDrop1 for SmartCodeGenerator at GotDotnet. SmartCodeGenerator is an Asp.Net2.0 website application and is a full fledged template based code generator that allows you to generate
posted by Shahed | 0 Comments

Asp.Net Performance: Use explicit cast instead of using Eval

I have come through lots of examples in the web using DataBinder.Eval but if we go and see whats happening under the hood, we will find Eval uses reflection to evaluate argument passed. <ItemTemplate><div><%# DataBinder.Eval(Container.DataItem,"myfield")
posted by Shahed | 0 Comments

Asp.Net Tools for Developers

Fiddler HTTP DebuggerHTTP debugging proxy Lutz Roeder's .NET Reflector.NET assembly browser, explorer, analyser and decompiler FxCop.NET best-practice code analyser C# Snippet CompilerLightweight C# code snippet compiler Sysinternals DebugViewMonitors
posted by Shahed | 0 Comments

Programmatically accessing Tracing info in Asp.Net 2.0

For enabling Tracing we normally Tweak the config file right.... <configuration><system.web><trace enabled="true" writeToDiagnosticsTrace="true" /></system.web></configuration> But in asp.net 2.0 you can do a bit more...
posted by Shahed | 0 Comments

Asynchronous Calls in asp.net2.0

.Net Framework 2.0 makes life so easy with asynchronous calls from pages. I remember in asp.net1.x we had to do so much to achieve the same behaviour, but we are lucky that in asp.net2.0 its very easy. Again there are more than one ways to implement asynchronous
posted by Shahed | 0 Comments

Using Reflection to Get and Set values of Properties

The assembly that is generated for .Net Framework has metadata that describes the structure of the assembly and its classes. By using reflection we can investigate the structure of classes and the data that assembly holds dynamically at runtime.
posted by Shahed | 0 Comments

Visual Studio 2005 File &gt; Export Template

Custom templates are sometimes very handy. For example if your pages are inherited from a custom base page. Normally you would have to tweak your pages to fit your framework. Sometimes its even boaring to go and change the new pages added to the project
posted by Shahed | 0 Comments

Cache Invalidation for Dynamic pages in Asp.net 2.0

Asp.net 2.0 supports database cache dependencies. So changes in the Tables data can be notified and cache can expire. This is a very handy feature. Here is how we can do this <@ outputcache duration= "7200" varybyparam="CustomerID" sqldependency="DatabaseName:Customer"
posted by Shahed | 0 Comments