ASP.NET News from Blogger: Bigyan Rajbhandari   Get the feed of: Bigyan Rajbhandari

Total News: 36

Using XML to perform database operations rather than parameterized query?

There's no doubt that today xml is becoming more and more prevalent as platform-independent data format. Starting SQL server 2005, Microsoft also added tons of support for xml and a new native data ty...

Is V1 of LINQ to SQL only suitable for RAD?

In my previous couple posts, I have been religiously trying to solve the problem or should I say 'find a best pattern' to use with linq to sql. In past few projects, I ventured into Linq to sql world ...

(Follow Up) Best practice and effective use of DataContext in LINQ

In my previous post, I had probed a question on how to effectively incorporate DataContext in ones pattern so the ease of use and unit of work is well represented. Thanks to everyone who provided feed...

Best practice and effective way of using DataContext in Linq to SQL?

At work, Jeff and I have been throwing around ideas to find a best way to implement DataContext in Linq so that we can integrate it into the base class in our framework while achieving following goals...

Is VB.Net better or C#.net? Or is .Net a .Net either way?

As a .net programmer at some point in your life, you probably have gotten into a discussion or at least faced a choice between VB.net and C#.net. Though the argument is never ending on both sides, how...

Add extension method in Linq deprecated in VS 2008 RTM

Well, one of the "perks" of working in beta and switching to rtm is definitely the few surprises that come along. In VS 2008 Beta2 Linq entities had 'Add' method that allowed you to add an object to...

Got MCPD ed!

Finally passed my Microsoft 70-551 test and got the MCPD certification. To Tell you the truth the new generation of tests are really rigorous than before, esp. 70-549, took few tries to get pass it. A...

Most secure online banking system

I thought it was only me who thought my Credit Union's online banking system was so great! Turns out there are tons of other patrons who share the same feeling. Well, if it makes it to Daily WTF, then...

Useful Utility functions in .Net a.k.a Hidden Treasures

It's no secret that Microsoft's is releasing the source for some of its core .Net classes in upcoming visual studio 2008. Before that arrives, the option to look at some of core classes is probably th...

Using non asp.net file extensions with asp.net

As a developer it's pretty interesting the type of things you run into. Well, couple weeks ago at work, I ran into a situation where I had to reverse engineer the webservice from php, however, still h...

Move to subtext

After fiddling with upgrade of CommunityServer 2.x for a while, I finally took a plunge to convert to SubText. Its interface and simplicity is much more usable, and the metablog api to publish throug...

Craving technology? Check out DinnerNow.net

Back in february, Microsoft released a sample application for ficiticious company DinnerNow.net to showcase it's new technologies like .NET 3.0 (WWF, WCF, WPF), Card Space, Windows mobile 5.0, .N...

Getting hands dirty with Enterprise Library 3.0

Today, I finally got a chance to integrate the new Enterprise Library 3.- April 2007 with one of our projects. This new release features lots of extras and support for WCF. Some of the features that s...

Havent vented about Crystal in a while!

Looks like its been few months since I lasted whined about crystal, not because theres nothing to complain, its only because I have been too lazy to write about crystal. Anyway, once again crystal has...

NDepend - Finally something to talk about!

Last week, Dave showed me Ndepend tool that was out there and making heads turn (Tool that judges your code on the basis of different coding patterns and practices and gives you a visual and metrix re...

Finally MCSD (.net)

Well, got my MCSD today. Was wanting to take this test long time ago, but just didn't have enough time. Anyway, got this out of my way and it was lot easier than I expected. I was thinking that due to...

Why is crystal so painful?

If, by the end of the work day, it makes you feel like trashing everything in front of you, then is it worth the anguish? Well I am talking about crystal reports, which again and again have failed to ...

Creating ODBC connection with .Net Setup Project

One of my friends was wondering if there was a way to easily create an ODBC automatically with a .Net Setup project, so as to minimize manual configuration changes. Well, there is, ODBC connections ar...

Encrypting entlib.config with relative path key file

Few days ago at work, I was tweaking the enterprise library tool to encrypt the config files. This is a fairly easy task and can be acheived using "Encryption settings" on the configuration applicat...

DataView vs DataTable

Anyone who has used ADO.Net is familiar with DataTables and Dataviews. These objects bring a whole lot simplicity to data manipulation in .Net. Previously in ADO.Net 1.1 DataSets and DataTables had a ...

Converting VS 2005 web site to vs 2005 Web application project

For some reason I didn't feel comfortable working with web site  in VS 2005. May be I was so used to working with project type web application in 2003. So I decided to convert few of my existing ...

Cool connection string trick

Our good friend super Dave posted a cool way to create connection strings. If you can't remember how to create one everytime you have to write a connection string. Check this out. http://ctrlalteleete...

Using MailDefinition object to send templated emails in ASP.Net 2.0

Sending emails using Asp.Net has never been as easier and manageable than with introduction of System.Net.Mail in ASP.Net 2.0. Though it always has been relatively easy to create a MailMessage and sen...

.Net Vs J2EE

I have lots of friends who use Java, including myself sometime. So, out of curiosity, I googled "Asp.net Vs Java" and stumbled over this interesting discussion. I really can't put my few cents over ...

rsStreamNotFound error in Reporting Services

Anyone who is using Reporting Services 2000 and rendering the report in HTML has porbably seen the error rsStreamNotFound with embedded or external image. While reading through various blogs one thing...

Day after Tech Ed 2006

Back home after a week long of informative and tiring week. I thought I would blog everyday from the TechEd, but underestimated how much it could wear me out. Anyway, I was impressed with the content ...

One more reason to upgrade from SQL Ce 2.0

Well, on the last day of TechEd I attended a presentation by Ginny Caughey on various data storage approach for mobile application. One of the comments she made was that "50% of the clients who imple...

Upgrading Sql CE 2.0 to Mobile 2005 & .NetCf 2.0

Recently at work, I encountered a problem with SQL CE 2.0, for some reason I wasn't able to insert data to this mobile datastore. Exception thrown by the application said nothing more than "SQL CE ex...

Change in LoadSignatureEx and GetSignatureEx for OpenNetCF

If you have been using Signature Panel of compact framework in 1.2 and now are moving to 1.4 or 2.0, the way bytes are stored (with GetSignatureEx or LoadSignatureEx) has been changed. In OpenNet...

Problem with Master Pages and controls functionality (like atlas, rater control)

While working through a website using master pages and content placeholders one thing that has come to my attention is that controls inside the content placeholders are now named differently. It is ob...

Response.Redirect in Atlas

For now looks like this script will work to redirect from within atlas:updatepanel Page.ClientScript.RegisterStartupScript(this.GetType(), "redirect", "window.location.href='cart.aspx';", true); ...

Session State and Atlas in asp.net 2.0

It got me scratching my head for a while on why my session state was being reset every time I go to a different page. After careful look, what I realized is I was doing a Response.Redirect on a contro...

"V" for Virtual Paths in ASP.Net 2.0

Well while my lady was doing her shopping at MOA, I got a chance to watch the movie "V" and play around with virtual paths in asp.net 2.0. This new feature in 2.0 opens up new possibilities on how y...

More on AJAX and Anthem.Net

I have been using Anthem.Net in few of my projects and have enjoyed the ease of implementing Ajax with it. However, one thing I noticed is that when Anthem does a call back it actually posts the whole...

Migrating from ASP.Net 1.1 to 2.0

Here's a quick guide from Microsoft for anyone who's looking to migrate from Asp.Net 1.1 to 2.0. It gives you a quick run down of things you need to watch out for. http://download.microsoft.com/downlo...

Power of Ajax

Ajax has certainly been a topic of discussion among web developers since XMLHttpRequest object was introduced. Since then numerous ajax wrappers for .Net has emerged like ajax.net by Michael Schwarz, ...

View Other bloggers