Dmitry has posted the new source code for Cassini v2.0. Very cool stuff if you would like to learn how to build a web server that hosts ASP.NET
New to Cassini v2:
- Cassini v2 uses new ASP.NET v2 hosting APIs (System.Web.Hosting: ApplicationManager, IRegisteredObject, etc.).
- Grab the Cassini web server source code from Dmitry’s website.
Note: You may also want to check out UltiDev’s own incarnation of Cassini which runs as a Windows Service and comes with a easy distribution package for Visual Studio 2005
A Vista Internet Explorer IE7 Browser style navigate button control. Added ToolStripButton and suboptimal support Gradient background.
Silverlight 2 Beta 1 provides a rich set of features that enable great RIA (Rich Internet Application) application development. These include:
- WPF UI Framework: Silverlight 2 includes a rich WPF-based UI framework that makes building rich Web applications much easier. In includes a powerful graphics and animation engine, as well as rich support for higher-level UI capabilities like controls, layout management, data-binding, styles, and template skinning. The WPF UI Framework in Silverlight is a compatible subset of the WPF UI Framework features in the full .NET Framework, and enables developers to re-use skills, controls, code and content to build both rich cross browser web applications, as well as rich desktop Windows applications.
- Rich Controls: Silverlight 2 includes a rich set of built-in controls that developers and designers can use to quickly build applications. This upcoming Beta1 release includes core form controls (TextBox, CheckBox, RadioButton, etc), built-in layout management panels (StackPanel, Grid, Panel, etc), common functionality controls (Slider, ScrollViewer, Calendar, DatePicker, etc), and data manipulation controls (DataGrid, ListBox, etc). The built-in controls support a rich control templating model, which enables developers and designers to collaborate together to build highly polished solutions.
Rich Networking Support: Silverlight 2 includes rich networking support. It includes out of the box support for calling REST, WS*/SOAP, POX, RSS, and standard HTTP services. It supports cross domain network access (enabling Silverlight clients to directly access resources and data from resources on the web). Beta1 also includes built-in sockets networking support.
Silverlight 2 In Action: Building A Simple Digg Client
All of the UI in the application is built using Silverlight’s WPF framework. The application uses the Silverlight networking stack and cross-domain access support to query the Digg REST API directly, and uses LINQ and LINQ to XML to query/transform the returned data into DiggStory objects that I databind the UI against:
The entire application is implemented in about 35 lines of C# code and 75 lines of XAML page/user-control markup. It only uses controls and libraries built-into Silverlight.
- Part 1: Creating “Hello World” with Silverlight 2 and VS 2008
- Part 2: Using Layout Management
- Part 3: Using Networking to Retrieve Data and Populate a DataGrid
- Part 4: Using Style Elements to Better Encapsulate Look and Feel
- Part 5: Using the ListBox and DataBinding to Display List Data
- Part 6: Using User Controls to Implement Master/Details Scenarios
- Part 7: Using Templates to Customize Control Look and Feel
- Part 8: Creating a Digg Desktop Version of our Application using WPF
A dark Visual Studio 2008 theme, adapted from my well received 2005 theme.
Consolas font used for the main text editor window(s).
Dina font (free download – google it) for the output windows.
Muted background colors contrast nicely with the keywords and text. Less common operators and markup are more noticeable, i.e. #region and @”string literals”
A gmail class library that provides some tools for getting gmail atom feeds and for sending emails through gmail using the .Net framework. These tools are not very complicated, but they are simple to use and should save a user some time if they want to integrate an application with gmail.
Ruby will get under your skin. You will miss its features and quirks when you’re not using it. You might even find other languages insufferable, once you get comfortable with Ruby.
Autologon (Auto Logon) for Windows XP
A. Click on “Start”
B. Click on “Run” – and type “control userpasswords2″
C. click OK
D. Select the Users tab,
E. Clear the “Users must enter a user name and password to use this computer” check box
F. Click “Apply”.
G. A dialog will appear that asks you what user name and password should be used to logon automatically,
H. Supply a Username, Password, and Confirm Password
I. Click “OK”.
J. Click on ” Start”
K. Open the Control Panel
L. Dbl Click User Accounts
M. Click “Change the way users log on or off”
N. Clear Check box for “Use the Welcome Screen”
O. Clear Check box for “Use Fast User Switching” (Automatically Disabled)
P. Click Apply Options.
.NET / C# class that wraps most of the Twitter API in an easy to use way, providing you direct access to the various methods and output formats used on the Twitter API.
Plus Direct Message methods in the comment section.
The library structure is quite straightforward. Every method in the Twitter API has a method in the C# class with the same name. Every method that can return one of the various formats such as RSS, XML and Atom follow the following convention “MethodNameAsFormat”. For example, the method “GetPublicTimeline” has a sibling method named “GetPublicTimelineAsXML” which returns an XmlDocument of the result.
Learn something new today.
Besides Web Hosting, there is something called Virtual Private Server Hosting (VPS, also referred to as Virtual Dedicated Server or VDS) is a method of partitioning a physical server computer into multiple servers that each has the appearance and capabilities of running on its own dedicated machine. Each virtual server can run its own full-fledged operating system, and each server can be independently rebooted. Any applications can be installed on it including Windows Services. Can be control by RDP or a web based Control Panel (e.g. Plesk).
Google – Microsoft Windows VPS Hosting and you will find a list of companies doing that. At the time of this writing…the price is around $50-$100/month each comes with ~ 1/2 to 1G or memory.
Windows Communication Foundation with its 3.5 release provides several new and useful features including capability to publish and consume syndication feeds in a much easier and uniform way, right out of the box. This article focuses on using the WCF 3.5 libraries namely System.ServiceModel.Syndication namespace to create and publish an RSS and Atom feed from the same code base.