As we all know we any web page on the internet is state less. We have to write our own mechanism to maintain state between httprequest and httpresponse. Asp.net has great features called viewstate to maintain state during page postback. It will store the element state in hidden variables with _VIEWSTATE....
Thursday, July 30, 2009
Sunday, July 26, 2009
Extend your existing classes with extension method in asp.net 3.5
In asp.net 3.5 there is one good features called extension method now you can extend your functionality without modifying existing classes. Extension method allow developers to add own functionality to any existing classes. You don't need to create subclass or don't need to recompile existing classes...
What's new in sql server 2008
Microsoft SQL Server are one of the popular RDBMS(Relational Database Management System) all over world. Before some time Microsoft has launched the new version of SQL Server 2008. SQL Server 2008 provides the highest levels of security, reliability, and scalability for your business-critical applications. . Following are the some of new features of SQL Server 2008.Policy based management.
Performance...
How to remove white spaces between tags and lines of html render by asp.net page
When asp.net page loaded in to browser there are lots of white spaces between tags and in tags that will increase your html kb. For example if your page around 300 kb then it will take 3 second to load on 100 kbps internet connection and in dial up connection it will still take time. So if you want to load your site fast on dial up internet connection then you need to decrease html kb as much you...
Saturday, July 25, 2009
Sending mail with secure service layer in asp.net 3.5/2.0
Posted by Jalpesh Vadgama |
July 25, 2009 |
.NET4.0, ADO.NET, ASP.NET, ASP.NET-MVC, Web-Service |
1 comment
In earlier post i have mentioned that how to send the email using new System.Net.Smtpmail with asp.net 2.0 or higher version. Now lets learn how to send the mail with the secure service layer in the asp.net. Security is the one of the most important requirement in today’s world as you are doing your business online you have keep secure from other wrong elements. Secure service layer add an extra layer...
Friday, July 24, 2009
Client Id of a control in ASP.NET 4.0.
Client Id is used to store the id of a server control in client side. ASP.NET Engine creates a very long client id to unique identify each element on the same page. If you are having so many inner controls hierarchy then asp.net will generate very long client id like “ctl00_Ctl001_ctl02_BM_Login_btnSave” here i i have used control name like ctrl00,ctr001,bm etc. If you are having long control name...
Thursday, July 23, 2009
Javascript is not working with update panel- Microsoft Ajax
As an asp.net developer we all must have to use update panel for the ajaxifying our application in today’s ajax world. No one likes postaback now. But when we add the some content with the java script under update panel then some times it’s stop working because of the update panel server side behavior. So what we should do? … Here is the trick. Normally we code java script in the asp.net page like...
Monday, July 20, 2009
Page.MetaDescription and Page.MetaKeywords in asp.net 4.0
As i have in my earlier post Search Engine optimization is necessary for every sites otherwise site will not have more users and viewers. For search engine meta tag are very important one Search engine crawler get information from this meta tags. There lots of meta tag but most important meta tag are keyword and description. From keyword meta tag search engine crawler get information about keyword...
Permanent redirection in asp.net 4.0
We all need search engine optimization in our sites. With web 2.0 site its necessary that our site is search engine friendly because if i write this blog but nobody comes to read my blog then what is the worth of it. So for every thing we need to have search engine optimization whether its a blog,site or any thing on web. For Search Engine Optimization one of the most important thing is the permanent...
Sunday, July 19, 2009
IIS 7.0 URL Rewrite Module 2.0 Beta Version is out now.
Url rewriting is an important feature that will enable application to be search engine friendly and make url more readable. IIS 7.0 comes with built in url rewriting module so you don’t need to write more code for url rewriting module. URL Rewriting module will do following for you.Replace the URLs generated by a web application in the response HTML with a more user friendly and search engine friendly...
Saturday, July 18, 2009
Microsoft SilverLight 3.0 is out now-What’s new in Silverlight 3.0?
Microsoft Silvelight 2.0 has been great success for the Microsoft. There lots of rich user friendly animated application is designed with Microsoft Silvelight 2.0. Now with Microsoft has added some new features to Silverlight 3.0. It includes major media enhancement,allowing web applications to view on desktop, Graphic improvement for 3D Support, GPU Acceleration and H-264 Support etc. Following...
Partial Types, Class and Method in C#.NET 3.0/2.0
Posted by Jalpesh Vadgama |
July 18, 2009 |
.NET4.0, ASP.NET, C#.NET, LINQ, VB.NET, VisualStudio, Web-Service |
1 comment
With C# 2.0 Microsoft has added partial keyword in C#. So what is partial keyword used for. Lets go through the partial keyword in greater detail. First and foremost use of the partial keyword is the you can declare one class or method with more then one declaration and at the compilation time it will have one complete class.So now you can declare a class more then one file at the compile time it...
Friday, July 17, 2009
My blog post is in Microsft TechEd Online Editors Pick List
Microsoft TechEd online is a great community and always been best to learn new thing. I have been proud of associating my self with great community. It’s a great thing to get acknowledgement from community. Recently one of my blog post-Sending email through System.Net.Mail.Smtpmail in asp.net 3.5/2.0...
Subsonic 3.0 is out now- Next Generation Object Relational Mapper
Posted by Jalpesh Vadgama |
July 17, 2009 |
ASP.NET, ASP.NET-MVC, Blog, C#.NET, LINQ, SQL Server, VB.NET, VisualStudio |
No comments
There lots of ORM(Object Relational Mapper) is available now like entity framework,nhibernate, linq, dlinq but i choose subsonic 3.0 for my next application which will be a question answer site for the following reasonNow subsonic 3.0 is with linq support so you can write your lambda expression and linq queries along with the subsonic It comes with simple repository. Built in T4 Templates for 4.0...
Photoshop and CSS Tutorials.
Technorati Tags: Photoshop,Photoshop templates,CSS,CSS 3.0,PhotoshopCS,CSS OptimizationI am creating a web template for my forthcoming question answer asp.net mvc site. I need a web 2.0 rich template for my site for that i have search on web and found some great photoshop and css links. Here is collection for that.Photoshop link:First is the my link who created design for my blog. http://psdvibe.com/-...
Thursday, July 16, 2009
Sending email through System.Net.Mail.Smtpmail in asp.net 3.5/2.0
For any web application or website the sending email is a necessity for newsletter, invitation or reset password for everything we have to sent a mail to the people. So we need to see how we can send mail. In 1.1 we are sending emails with System.Web.Mail.SmtpMail which is now obsolete. Now in asp.net 2.0 or higher version there is a namespace called System.Net.Mail.Smtpmail in asp.net 3.5. With...
Monday, July 13, 2009
Google SMS Channel –Subscribe my post via SMS
Mobile has been very useful device since its launched. Now days we can not live without mobile. Think if you have your own sms channel and you can send message to your subscribers about your thought your blogs. It seems like a dream but now dream comes true. Google has launched new sms channel through...
Sunday, July 12, 2009
Wave.Google.com –A new communication tool.
Google wave is a new communication and sharing tool coming this year. With wave people can do lots of this things in a single browser like communication,videos,map link sharing, rich formatted text etc.You can have a group chat and any participant can reply anywhere in message. edit content and add...
Windows Live Writer 2009 Available for download now.
I am using windows live writer more then a year for blogging. Its a great tool to blog the things. There lots of inbuilt features are there. Like you can insert videos,Format HTML, Insert hyperlink, insert picture directly from the desktop etc. A new version of window live writer is having all this...