|
|
|
|
|
Total Hits: 6 | Today: 0
|
Author: Bipin Joshi
|
Rating:
|
|

In the Part 1 and Part 2 of this series we discussed how to use LINQ to SQL features to query and manipulate data. We also learnt to call stored procedures via LINQ to SQL. In the previous examples our approach was manual in that we ourselves created the custom data context and entity classes. Visual Studio comes with an inbuilt designer to perform the same task. This article will teach you how to use the designer and consume the created classes in your application....
|
|
|
|
Total Hits: 9 | Today: 0
|
Author: Jeffrey Richter
|
Rating:
|
|

Arrays are mechanisms that allow you to treat several items as a single collection. The Microsoft® .NET Common Language Runtime (CLR) supports single-dimensional arrays, multidimensional arrays, and jagged arrays (arrays of arrays). All array types are implicitly derived from System.Array, which itself is derived from System.Object. This means that all arrays are always reference types which are allocated on the mana...
|
|
|
|
Total Hits: 5 | Today: 0
|
Author: Bill Chiles
|
Rating:
|
|

The Microsoft® .NET Framework was designed to support a broad range of programming languages on a single runtime—the common language runtime (CLR). The CLR provides shared services to these languages, including garbage collection, just-in-time (JIT) compilation, a sandboxed security model, and support for tools integration. Sharing these features has two huge benefits for language implementers. It is easier to implement a language because much of the lower-level engineering work is already done....
|
|
|
|
Total Hits: 2 | Today: 0
|
Author: Scott Mitchell
|
Rating:
|
|

While reading through some of Jeff Atwood's old blog entries, I stumbled across this gem: The Danger of Naïveté. In it, Jeff discussed the pitfalls the can befall a programmer who implements a naïve algorithm and calls it a day. Consider an algorithm to randomly reorder an array. If you have a collection of items to reorder, the naïve approach is to enumerate each element and swap its position with an element in some other randomly-selected position. However, such an algorithm (as we discuss in ...
|
|
|
|
Total Hits: 13 | Today: 0
|
Author: Bipin Joshi
|
Rating:
|
|

Language INtegrated Query or LINQ changes the way you write your data driven applications. Previously developers used to think and code differently to access different data stores such as SQL server, XML files and in-memory collections. The new LINQ based programming can take away the hassles involved while developing such applications. In this multi part series I am going to explain how LINQ capabilities can be used ASP.NET applications....
|
|
|
|
Total Hits: 7 | Today: 0
|
Author: Member 1713922
|
Rating:
|
|

Why another localization article? Because I found no answer on such a simple problem: let’s suppose you have an ASP.NET web that you successfully deploy. You have a lot of clients in USA, in Europe and in Asia. Everything goes fine until one of your clients asks you to translate the application in its own language. This is a very simple task and you don’t have to recompile the application and send it back to your client. The only concern it’s finding a good translator that will spend some time t...
|
|
|
|
Total Hits: 13 | Today: 0
|
Author: Manish K Gupta
|
Rating:
|
|

This article gives you a general view of the Encryption of Connection string inside the Web.config feature and how you can use encryption and increase the security and keep the secure connection with the database. The .NET Framework 2.0 allows you to encrypt configuration sections within the Web.config or machine.config files. Encryption support for configuration files is added to the .NET Framework 2.0. The .NET Framework libraries support for encryption and decryption in code. In this ar...
|
|
|
|
Total Hits: 16 | Today: 0
|
Author: Bean Software
|
Rating:
|
|

Environment variables are a vital scheme for both querying and setting vital information for serious software applications. They are one of the techniques that when you master, you will be able to perform tasks that are totally un-accomplishable using *ANY* other technique. Specifically, system wide environment variables are the most valuable set of environment variables in this regard. This tutorial aims to teach you how to overcome this limitation and how to set environment variables from a .N...
|
|
|
|
Total Hits: 12 | Today: 0
|
Author: Wong Shao Voon
|
Rating:
|
|

While I was writing this article, I saw that a fellow CP'ian, Ivo Beltchev, has already posted a typesafe string format library. The method I used in my library is quite similar to his. But my library is much simpler, and uses std::basic_string and C string functions to do the job instead of rolling out my own string routines, and doesn't use the Win32 API, but it doesn't support locale....
|
|
|
|
Total Hits: 14 | Today: 0
|
Author: Dino Esposito
|
Rating:
|
|

For years, classic ASP developers implemented page authentication by inserting some generic code at the top of each page that would grab user credentials, attach a cookie, and redirect. All that repetitive code was swept away by the ASP.NET HTTP modules for authentication. As a result, ASP.NET applications don't have to link each and every page being secured to the authentication module of choice. Everything can be done declaratively through the web.config file and a bunch of external resources,...
|
|
|
|
Total Hits: 18 | Today: 0
|
Author: Todd Anglin
|
Rating:
|
|

We live in a world of constant motion. Ideas, aided by the Internet revolution, rapidly transform from concept to reality and drive the wheels of progress forward. Stand still for too long and you’re outdated, dull, and losing to a new competitor that is riding the “2.0” wave. Nowhere is this reality clearer than in web development, where the oft hyped “Web 2.0” has become the mythical measuring stick by which all websites are deemed hot or not. If your website isn’t deemed “Web 2.0,” it’s alrea...
|
|
|
|
Total Hits: 20 | Today: 0
|
Author: AzamSharp
|
Rating:
|
|

Some time back an article was published on www.gridviewguy.com , “Creating an Online Exam Using LINQ to Classes Part I” which introduced the basic design involved in creating an online exam. In this article we will take one step further and create unit tests to test certain features of the application....
|
|
|
|
|
|