Articles tagged .NET Framework

28 September 2011
28 September 2011

TLS/SSL and .NET Framework 4.0

The Secure Socket Layer is now essential for the secure exchange of digital data, and is most generally used within the HTTPS protocol. .NET now provides the Windows Communication Foundation (WCF) to implement secure communications directly. Matteo explains the TLS/SSL protocol, and takes a hands-on approach to investigate the SslStream class to show how to implement a secure communication channel … Read more
21 September 2011
21 September 2011

An Introduction to ASP.NET MVC Extensibility

Because ASP.NET MVC has been designed with extensibility as its design principle; almost every logical step of the processing pipeline can be replaced with your own implementation. In fact, the best way to develop applications with ASP.NET MVC is to extend the system, Simone starts a series that explains how to implement extensions to ASP.NET MVC, starting with the ones at the beginning of the pipeline (routing extensions) and finishing with the view extensions points.… Read more
07 September 2011
07 September 2011

Stock Market Technical Analysis

Although the technical approach to stock market analysis has been around since the 1800s, some improvements have obviously been made over time. With the introduction of computers, and specifically .NET libraries geared towards statistical analysis, huge, complex operations have been made easy.… Read more
24 August 2011
24 August 2011

Designing C# Software With Interfaces

The best way to understand how interfaces improve software design is to see a familiar problem solved using interfaces. First, take a tightly-coupled system design without interfaces, spot its deficiencies and then walk-through a solution of the problem with a design using interfaces.… Read more
14 March 2011
14 March 2011

Defining .NET Components with Namespaces

A .NET software component is a compiled set of classes that provide a programmable interface that is used by consumer applications for a service. As a component is no more than a logical grouping of classes, what then is the best way to define the boundaries of a component within the .NET framework? How should the classes inter-operate? Patrick Smacchia, the lead developer of NDepend, discusses the issues and comes up with a solution.… Read more
03 March 2011
03 March 2011

EntityDataSource Control Basics

The Entity Framework can be easily used to create websites based on ASP.NET. The EntityDataSource control, which is one of a set of Web Server Datasource controls, can be used to to bind an Entity Data Model (EDM) to data-bound controls on the page. Thse controls can be editable grids, forms, drop-down list controls and master-detail pages which can then be used to create, read, update, and delete data. Joydip tells you what you need to get started. … Read more
14 February 2011
14 February 2011

Silverlight Beyond the Browser: The Basics

Silverlight can now be used to write a complete business application that can be run outside the browser. Such an application will probably need to automatically check, and react to, changes to the network status, as well as automatically download and install updates from the server. It will need to be easily installed from the browser. Richard Costall explains how, with a complete example.… Read more
04 December 2010
04 December 2010

Dynamic Language Integration in a C# World

.NET 4.0 introduced the Dynamic keyword in C#4.0, making it simple to have your .NET code smoothly interact with dynamic languages. To find out just how easy it was, Zenon Ochal used C# and IronPython to build a very efficient mathematical expression plotter in double-quick time.… Read more
25 November 2010
25 November 2010

Some NHibernate Best-Practices

NHibernate can help to build a project more quickly if the database it connects to is sound. Otherwise, there are bound to be problems, but they are not problems of NHibernate's making. Nick Harrison gives some advice, and suggests some 'best-practices' for using it, fresh from the reality of developing an application based on NHibernate. … Read more
03 November 2010
03 November 2010

Using Table Valued Parameters with VB.NET

SQL Server's Table-Valued Parameters are useful, and easy to use, but you should be aware that something that looks loke a table, and seems to behave like a table, can't necessarily be used just like any other table. Leidago gives a developer's guide on how, and why, you should use TVPs in your application. … Read more
05 October 2010
05 October 2010

One application in both WPF and Silverlight

Because Silverlight is a development of Windows Presentation Foundation, and the technologies are so interlinked, it would seem obvious that there would besuch a high degree of code compatibility that one could then develop an application for both platforms from a common code-base. Khawar describes how it can be done. … Read more