Posts

Understanding of garbage collection in net

http://www.csharpque.com/2013/05/understanding-garbage-collection-in-net.html

Uploading and returning files in an ASP.NET MVC

Uploading and returning files in an ASP.NET MVC application is very simple. I found very simple article. Uploading and returning files

backbone-js tutorial collection

understanding-backbone-js-simple-example

Top 10 Web Application Penetration Testing Tools

Well this is not quite a default top ten list (based on witch one is the smarter/faster/better) but just a simple list of applications you can use in a pentest. Free and open source app come first. Source

Implementing Solutions that Leverage Microsoft Sync Framework to Provide Synchronization

Microsoft Sync Framework to Provide Synchronization Video

asp file upload error

Recently I struggled for file upload in asp web site. I did some fix but in beginning I am not able to understand the reason. After going through this below line, I am able to understand the reason Q1. I want to let my users specify the destination directory to which the files will be uploaded. I included &ltINPUT TYPE="TEXT" NAME="PATH"&gt in the form, and my upload script looks like this: . However this does not seem to work. A. You cannot use the Form collection before calling Save because it is not yet populated. The right way to do it is to upload the files to a temporary directory and then copy or move them to the specified destination directory as follows: n = Upload.Save "c:\upload" For Each File in Upload.Files File.Copy Upload.Form("Path") & "\" & File.ExtractFileName Next %> I got hint from aspupload site. www.aspupload.com/faq

3 Ways to Send Emails with dynamic content in ASP.NET

To send email from asp.net application, we have followed various approaches in past 1. Create & design HTML file, Use place holder to find and replace. Pros: If you are sending one type of email. Easy to test the layout in different browsers. Cons: if you are sending multiple types of email but for email format or layout is same. Difficult to maintain Performance slow, due to disk read operation. Difficult to Test in different browser with dynamic data. 2. Create XSLT file, transform by passing your custom object. Pros: if you know xslt and only one type of email you want to send. Cons: Xslt knowledge is required Difficult to maintain, If you have to send multiple type of dynamic email content with same email format or layout. Very difficult to debug. Some Performance hit. 3. Create two asp.net User controls, one master user control & one is child user control. Master user control will be similar to asp.net master page. To keep email outer email body template in one location. ...