Ever since I discovered the ?? colaesce operator I embraced it with full force.
Today I discovered another usefull use:
// this: string[] arrayOfStrings1 = new string[] { "arr1s1", "arr1s2", "arr1s3" }; foreach (string str in (arrayOfStrings1 ?
Read more →
I had so much "fun" with viewstate last weekend. I'm developing a site that has a master page Master.aspx and a few child pages (Page1.aspx, ..., pageN.aspx). Now when rendering HTML that is displayed an ASP.
Read more →
I've come accross this these articles which i think are a must read before starting to design any kind of a serious application Designing and building a robust data access layer Managing SQL exceptions in .
Read more →
I had some fun this weekend with ASP.Net 2.0 Master pages and submit buttons when pressing Enter key. The catch here is that with the introduction of Master pages there's only one form per page which is specified in the master page.
Read more →
I've written about bulk insert methods for text files in sql server 2005. .Net 2.0 brings the SqlBulkCopy Class in System.Data.SqlClient namespace. Speed wise it can't even compare to native sql server methods but it's usefull if it's the only viable solution.
Read more →
In my previous post i showed how a generic comparer class in .net C# 2.0 can be made with the use of reflection.
This is the version 2. Faster, preetier, better.
Read more →
In my previous post i showed how a generic comparer class in .net C# 2.0 can be made with the use of reflection.
In my constant search to optimize code and make it better i've stumbled upon this article that explaines how IL code generation can be use in this situation.
Read more →
I've been doing a "bit" of .net development lately and i had a problem where i would get a variable of type object and it's type in a string. So I wondered how to convert it to proper type at runtime.
Read more →
I often wondered why is there no ISortable interface of somekind in .Net. I recently needed to sort items in the context menu in alphabetical order. Sorting them was the begining of a journey which produced this class.
Read more →
I had to convert a project from .Net 1.1 to .Net 2.0 this week. It built ok with a few warnings. Amongst others there was this one: Warning: 'System.Threading.WaitHandle.Handle' is obsolete: 'Use the SafeWaitHandle property instead.
Read more →
If there was one thing that was going preety steadily on my nerves in VS2005 was region collapsing/opening with mouse. So i was determined to find a shortcut for it.
Read more →
This is a good explanation on how to acctually bill a customer for your service over a credit card in your web application.
More here.
Legacy Comments
anwar
2006-06-14
re: Integrating Electronic Payment Processing into ASP.
Read more →
Visual studio's DataSet visualizer is ok but it's not that great :))
This one is excellent and if you do a lot of db development (which you do if you're reading blogs on SQLTeam :)) you need this.
Read more →
I've posted an article about WebDAV protocol and my use of it for accessing MS Exchange store. WebDAV is based on HTTP 1.1 and is based on sending XML requests to find, set, remove and search for item properties.
Read more →
What is WebDAV? WebDAV stands for "Web-based Distributed Authoring and Versioning". It's a set of extensions to the HTTP protocol which allows users to collaboratively edit and manage files on remote web servers.
Read more →
If you do a lot of managed/unmanaged code interaction with COM objects then this is a page you must bookmark.
http://www.pinvoke.net/
Read more →
I saw this operator in use today in a code example. I must say when I figured what it does my geek side went "YES!!!!". It resembles an old "if" abbreviation: (condition ?
Read more →
why is there no reverse string function in c#?? Is there realy no need for that function?? there are of course a few ways to make your own reverse function.
Read more →
Well we decided we should do some unit testing on our asp.net project. We used NUnit.Asp. i must say the thing works realy great. the whole thing is based on xml document model of the page.
Read more →