Encrypting Connection Strings in Web.config
One of the best practices in ASP.NET is to save your database connection strings in the Web.config file instead of hard-coding it in your code. It's not such a good idea to save your connection strings as plain text in Web.config you should ideally encrypt the connection strings so it leaves no chance for a potential hacker to easily get more information about your database server. In ASP.NET 2.0, Microsoft has taken this further by allowing you to encrypt the connection strings in Web.config, all without much plumbing on your part. In this new article by Wei-Meng Lee, he shows you how it works!
[ONDotnet.com]
Building Mono on Windows
Mono, the open source implementation of the CLR, is not just for non-Microsoft platforms. Kevin Shockey walks you through the three phases required to build Mono on Windows without using the .NET framework.
[ONDotnet.com]
Using SQL Cache Dependency
Caching has long been recognized as one of the more effective ways to improve your ASP.NET web applications. One particular caching feature missing in ASP.NET 1.x was SQL cache dependency: the ability to invalidate a database cache if data in a table is changed. In ASP.NET 2.0, Microsoft has added the new SQL cache dependency feature. Wei-Meng Lee discusses the SQL cache dependency in ASP.NET 2.0, and how you can manually implement it in ASP.NET 1.x.
[ONDotnet.com]
Liberty on Whidbey Web Parts in ASP.NET 2.0
In a previous article, Jesse Liberty discussed how personalization works. This article picks up from where he left off and shows you how to use Web Parts to allow your users to further personalize users' interactions with your web site.
[O'Reilly Network]
O'Reilly Learning Lab: $200 Instant Rebate-- Learning programming languages and development techniques has never been easier.
Using your web browser and Useractive's Learning Sandbox technology,
the Learning Lab gives you hands-on, online training in a creative
environment. This month, receive a $200 instant rebate (and a
Certificate from the University of Illinois Office of Continuing
Education upon course completion) when you enroll in any Certificate Series.
Using the Observer Pattern in .NET
Recently, after visiting a friend who received a binary clock as a gift, Michael Weier thought it would be a great example to show how to use the Observer pattern.
[ONDotnet.com]
Learning ASP.NET for the ASP Developer - Part 3
In the final part of this tutorial, Nihal Mehta will demonstrate how to construct largescale ASP.NET websites. In the previous tutorials of this series, Nihal showed how to build single ASP.NET pages where all the code for a page was written on the page itself. This approach can quickly get tedious when you have code that is common across several pages. Thus, one of the most important elements in sites with a large number of pages is the ability to share code.
[ONDotnet.com]
Using the SQL Server 2000 Reporting Services
Microsoft has finally added reporting capabilities to its flagship database server, SQL Server 2000. In this article, Wei-Meng Lee walks you through the basics of creating a simple report using the SQL Server 2000 Reporting Services.
[ONDotnet.com]
Liberty on Whidbey Skins and Themes
In his previous column, Jesse Liberty showed you how to use web forms security to create a personalized site. Here, he builds on that work to introduce the concepts of skins and themes, which allow users to configure the look and feel of your site.
[ONDotnet.com]
Introducing SQL Server Reporting Services
Microsoft has finally added reporting capabilities to SQL Server 2000. Wei-Meng Lee walks you through the basics of creating a simple report using the SQL Server 2000 Reporting Services.
[ONDotnet.com]
Learning ASP.NET for the ASP developer - Part 2
In the first part of this tutorial, we showed how ASP.NET allows us to cleanly separate presentation markup from server side script code. In this second part, we will continue our investigation of ASP.NET from a classic ASP developer's perspective. We will delve deeper and demonstrate how an ASP.NET page is put together.
[ONDotnet.com]
Liberty on Whidbey ASP.NET 2.0 Databinding
In ASP.NET 2.0, a great deal of the ADO.NET object model has been incorporated into controls that let you interact with data declaratively, and that spare you from writing boilerplate code to create datasets, extract tables, bind tables or views to controls, and so forth. Jesse Liberty shows you how ADO.NET 2.0 and ASP.NET 2.0 are now meaningfully matched.
[ONDotnet.com]
Liberty on Whidbey Personalization in ASP.NET 2.0
In previous articles, Jesse discussed security and managing users' roles. This article picks up from where those articles left off, and show you how to provide personalized web pages for your users. Personalization allows your web site to welcome the user and to persist the user's state.
[ONDotnet.com]
The Magic of ClickOnce
One of the major attractions of the web application is its ubiquitous access--anyone with a web browser can access the application and there are no setup issues to worry about. With the advent of web services, a new model can be drawn from the best of both worlds--harnessing the rich capability of the client-side Windows environment as well as the distributed and connected model of web services. This new model is known as smart clients. In this article, Wei-Meng Lee shows you how smart clients are supported in Visual Studio 2005 and how it makes deploying them easy and painless.
[ONDotnet.com]
Making Sense of Partial Classes
In Whidbey, Microsoft has introduced partial classes, with which we can spread the definition of a class over multiple files. The use of partial classes attempts to solve the problem of separation of designer code and implementation code. Nick Harrison shows you these solutions and explores the benefits of using partial classes in your own projects.
[ONDotnet.com]
Cooking with ASP.NET, Part 2
Last week, in part one of this two-part excerpt from the ASP.NET Cookbook , authors Michael Kittel and Geoffrey LeBlond cooked up three recipes to make ASP.NET work for you. This week, they're back in the kitchen with two more recipes: one to create a reusable handler that reads image data from the database and sends it to the browser, and another to improve the performance of pages that rarely change by saving and reusing HTML output.
[ONDotnet.com]
Liberty on Whidbey Master Pages in ASP.NET
On many web sites, it is important to achieve a consistent "look and feel" as the user moves from page to page. While this was possible with .NET 1.1, it was difficult and required both programmer and designer discipline. ASP.NET 2.0 makes this far easier with the creation of master pages. Jesse Liberty shows you how master pages work in ASP.NET 2.0.
[ONDotnet.com]
Cooking with ASP.NET
Michael Kittel and Geoffrey LeBlond have selected a few of their favorite recipes from O'Reilly's recently released ASP.NET Cookbook. Learn how to add a Totals row to a DataGrid, communicate between user controls, and display user-friendly error messages. Check back next week, as the authors offer two more recipes--for creating a reusable image handler and saving and reusing HTML output.
[ONDotnet.com]
Learning ASP.NET for the ASP Developer, Part 1
You may be an ASP developer. After the boom of the 1990s, there are thousands of you out there. We know you want to learn ASP.NET. In this, the first of three articles by Dr. Nahal J. Mehta, he shows you how to leverage your ASP knowledge to learn how to think like an ASP.NET developer.
[ONDotnet.com]
Site Navigation in ASP.NET 2.0
As your web site grows in complexity, it is imperative that you make the effort to make your site much more navigable. A common technique employed by web sites today uses a site map to display a breadcrumb navigational path on the page. ASP.NET 2.0 comes with the SiteMapPath control to help you in site navigation. Wei-Meng Lee shows you how it all works.
[ONDotnet.com]
Logical and Physical Software Design with Microsoft .NET
When integrated circuit engineers design components, they pay attention not only to the logical design of the chip, but also to the way it is physically implemented in silicon. With improved .NET deployment technology, programmers must do likewise. Michael Stiefel and George Wesolowski show you how physical and logical design can help you with .NET applications.
[ONDotnet.com]
Introducing Themes and Skins in ASP.NET 2.0
Most web designers use Cascading Style Sheets (CSS) to maintain a consistent look and feel on their web sites. ASP.NET 2.0 introduces a new way to maintain a consistent look and feel without having to manage your own CSS files. This new article by Wei-Meng Lee introduces the new feature and shows you how it works.
[ONDotnet.com]
Using the ESB Service Container
O'Reilly's Enterprise Service Bus, by Dave Chappell, shows how to use an event-driven SOA to integrate enterprise apps and web services built on J2EE, .NET, C#/C++, or other legacy platforms, into a single integration network that spans the extended enterprise. In this excerpt from Chapter 6 of his book, Dave discusses the ESB service container--a key architectural concept that provides the implementation of the ESB's service interface.
[ONJava.com]
Juiced AdamBa (Adam Barr) writes "Juiced is not a great book. The writing is workmanlike but not particularly entertaining, none of the stories are more than slightly amusing, and its protagonist projects an unappealing mixture of vanity and whining. There is a bit of dirt on players, and a couple of nuggets about Madonna and the sex lives of baseball players (and the intersection of those two), but as a baseball autobiography, it pales besides better competition. And yet, Juiced may be one of the most important baseball books ever written." Specifically, the book provides an insider's account of one aspect of biotech that has achieved widespread use, if not acceptance. Read on for the rest of Barr's review. [Source: Slashdot Org latest news headlines]
Will Sun's Java Go Open Source? Ritalin16 writes "CNet report that Sun Microsystems wants to send Java closer to the open-source world, yet keep it safe from harm. "Project Peabody" adds two licenses that make it easier for outsiders to see the code. But Sun stops short of embracing open-source. Sun's licensing practices for Java are closely watched. Proponents of making Java open-source argue that a different license and development process will help accelerate usage of Java, which faces ongoing competition from Web open-source scripting tools, such as PHP, and Microsoft's .Net line of tools." [Source: Slashdot Org latest news headlines]
Sci-Fi Epic Shot on a Shoestring An aspiring director is about to premier a futuristic film produced largely in his parents' basement. While it's not the greatest movie ever made, Cl.one is remarkably ambitious considering the resources employed. By Jason Silverman. [Source: Wired News]
Chess Master Kasparov To Retire fembots writes "Former world champion Gary Kasparov has announced that he is to retire from competitive chess. The chess grandmaster, a leading critic of Mr. Putin, heads a group of top Russian liberals who have joined forces to keep Vladimir Putin from staying in the Kremlin after 2008." [Source: Slashdot Org latest news headlines]
Microsoft Developers Respond To .NET Criticism bonch writes "Richard Grimes of Dr. Dobbs Journal wrote an article entitled Mr. Grimes' Farewell, in which he discusses what he feels are inherent flaws in .NET, and how he is abandoning his .NET column. Grimes argues that .NET is merely thin wrappers to Win32 calls (Avalon uses message functions that date back to 16-bit Windows), that Microsoft has abandoned confidence in both .NET and sales of Longhorn, and that the framework itself is too large and poorly implemented, most of it ported from past APIs like WFC and VB. Dan Fernandez, Microsoft's Visual C# Project Manager, has responded in his blog. Richard Grimes appears in the comments to defend his criticism, referencing first-hand disassembly of .NET APIs using ildasm. Scott Swigart has also responded to the criticism of Visual Basic .NET. Apparently, Mr. Grimes struck some nerves." [Source: Slashdot Org latest news headlines]
Job Market for Developers Evaluated David Parmet writes "Using data from indeed.com (an aggregator for job sites), Brandon of devnulled did an evaluation of the state of the job market in the US for developers. Some interesting findings - there are more Linux jobs than Solaris jobs. Unix is still competitive with Windows (only 24,000 fewer job listings for Unix than for Windows), Java is beating .Net and overall there seem to be a lot of enterprise / corporate IT jobs available. Indeed has a web services API / XML interface available here, so if you want you can do the analysis yourself." [Source: Slashdot Org latest news headlines]
Invisible Malware Install 65MB Large Paperghost writes "Words fail me with this one - dont have the .net framework on your PC to utilise the adware maker's technology? No problem, they'll download it for you without you knowing. The problem is that it's a sixty-five megabyte install." From the article: "...the size of the .NET framework to download can vary drastically depending on what extras you have - don't forget the service packs, SP1 is an extra 10 or so MB in size. But I'm actually understating the amount of space used when installed, as .NET can total up to 100MB." [Source: Slashdot Org latest news headlines]
Windows Cluster Edition eth8686 writes "Microsoft is aiming to have its first cluster version of Windows ready in time for a supercomputing conference this fall." From the article: "The next version of the Compute Cluster edition will extend to Microsoft's .Net programming infrastructure, letting developers write software using the C# programming language, he said." [Source: Slashdot Org latest news headlines]
Microsoft Loses Key Engineer to Google galdur writes "Microsoft Watch reports Marc Lucovsky, one of Microsoft's key Windows architects has defected to Google. His confidence in Microsoft's ability to ship software seems to have waned, too. Some hypothesize Google working on an OS but in the wake of Google's inroads into Ajax tech applications (GMail, Suggest, Maps), I think Google may have other plans for the chief software architect for Microsoft's .Net My Services ("Hailstorm")" [Source: Slashdot Org latest news headlines]
New Vulnerabilities Discovered in Firefox 1.0 jflint writes "Today, the security firm Secunia has released 8 more security vulnerabilities it has discovered in Mozilla products, including Firefox and Thunderbird. The exploits "could be used by criminals to spoof, or fake, various aspects of a Web site, ranging from its SSL secure site icon to the contents of an inactive tab."" [Source: Slashdot Org latest news headlines]
When Should You Quit Your Job? Moe Taxes asks: "I want to hear from Slashdot readers who have quit jobs or turned down offered jobs because it was not what they wanted to do. Why did you do it? Was it ethics, ambition, pride, or disgust? And how did it turn out? Did you get to do what you wanted to do, are you still looking, or did you come back begging for another chance? I have always written software for windows, but never with Microsoft tools. I don't feel like I have enough control over the product when I use Microsoft programming environments. My company was bought recently, and is in the process of becoming a C# VisualStudio shop. I said thanks, but no thanks and left. Am I a fool for giving up steady work and good pay?" [Source: Slashdot Org latest news headlines]