.NET - How To
- New Features of C# 4.0
- Windows Applications
- User Controls
- Passing Data Between Forms with Events, Printing, Login Forms
- Operator Overloading
- SQL SQL2 dataset and factory
- LINQ
- Connection Strings
- References
- Threading
- State Management
- User Controls
- Web Services
- Regular Expressions
- Files and Directories
- Photo Gallery
- Reflection
- Sockets
- Console, Data Types, if, for, while, switch
- Arrays code code and comments
- Functions code code and comments
- Classes code code and comments
- Abstract Classes and Interfaces code code and comments 1. code and comments 1.
- Collections code code and comments - part 1 code and comments - part 2
- Generics code code and comments
- Delegates and Lambda Expressions code code and comments
- Drawing, Files, Collections - part 1
- Drawing, Files, Collections - part 2
- Pointers and unmanaged code part 1 part 2 Garbage Collector
- more at www.asp.net , www.c-sharpcorner.com and MSDN
Software Engineering & Internet Applications
- IT Project Management with System Thinking
- PhD Dissertations in Software Engineering
- UML pdf 1 pdf 2
- Design Patterns
- Extreme Programming
- How to Write Unit Tests
- It's OK Not to Write Unit Tests
- Mono
- SilverLight
- MVC and N-tiers
- Version Control SVN Visual SVN SourceSafe
- Apache vs. IIS
- SharePoint concepts and basic how tos
- SharePoint Extensions for Visual Studio
- Active Directory in C#
- .NET 4.0 and VS2010
- Ajax Control Toolkit
- Installing GWT in Netbeans
- GWT Documentation
- HTML Tutorial
- CSS Tutorial
- JavaScript Tutorial
- Speed up your web
- Web Usability 10 Mistakes
- Homepage Usability Guidlines
Business Intelligence with MS SQL Server
- Business Intelligence with MS SQL Server 2008 - overview
- Delivering Business Intelligence with Microsoft SQL Server 2008 - book contents
What is new in Visual Studio 2010 and NET 4.0
- Parallel Extensions to improve support for parallel computing, which target multi-core or distributed systems. To this end, they plan to include technologies like PLINQ (Parallel LINQ), a parallel implementation of the LINQ engine, and Task Parallel Library, which exposes parallel constructs via method calls.
- Full support for IronPython, IronRuby, and F#.
- Support for a subset of the .NET Framework and ASP.NET with the "Server Core" variant of Windows Server 2008 R2.
- Support for Code Contracts.
- Inclusion of the Oslo modelling platform, along with the M programming language.
- Discover and identify existing code assets and architecture with the new Architecture Explorer
- Design and share multiple diagram types, including use case, activity and sequence diagrams
- Improve testing efforts with tooling for better documentation of test scenarios and more thorough collection of test data.
- Identify and run only the tests impacted by a code change easily with the new Test Impact View.
- Enhanced version control capabilities including gated check-in, branch visualization and build workflow.
What is new in Microsoft 2008 series
Visual Studio 2008
- Multi-Targeting support
- Web Designer and CSS support
- ASP.NET AJAX and JavaScript support
- Project Designer
- LINQ - Language Integrated Query
- With VS2008 SP1 some new features came
Windows Sever 2008
- Server Core - the minimal Windows installation with command line access only
- Good Sever Manager - an all-in-one administrative tool
- Windows PowerShell - one more way of scripting
- Self-healing NTFS
- Hyper-V - direct virtualization
- Windows System Resource Manager
- IIS 7 with modular architecture
- Windows Server 2008 R2 with IIS 7.5, partial .NET support on Server Core and everything else upadated
SQL Server 2008
- SQL Server Native Client
- Reporting Services Add-in for Microsoft SharePoint Technologies
- SQL Server Data Mining Add-ins for Microsoft Office 2007
- Business Intelligence greatly enhanced
- SQL Server 2008 R2 CTP scheduled for this Summer
Windows Setup
In this article we discuss how to perform an unattended installation of Windows 2000/XP/Vista with all the updates and computer manufacturer's drivers, regardless if the computer has a floppy, unsupported SATA drives and whatever else.
nLite and vLite
In general you must use only one tools: nLite or vLite or Setup Manager. nLite supports Windows 2000/XP/2003, while vLite supports Windows Vista. nLite/VLite prepares the CD/DVD that you can use for installation. Both are freeware and both provide the following functionalities:
- Driver Integration (SATA, RAID, ...)
- Service Pack Integration
- Component Removal
- Unattended Setup
- Tweaks
- Services Configuration
- split/merge Vista installation CDs
- create ISO and burn bootable CD/DVD
nLite/VLite is a GUI wizard; you really don't have to know anything to use it. Just follow the wizard till you burn the CD and you will be happy.
Setup Manager
nLite/vLite have almost the same functionalities as Setup Manager while being more user-friendly, however if you prefer to use Setup Manager, here is how to do it:
setupmgr.exe is a program that lets you answer all of the installation questions ahead of time,
and save them to a disk. You will find it on the Windows Install CD in Support\Tools\deploy.cab
Expand the files:
md MyInstallationFolder
expand -f:* deploy.cab c:\MyInstallationFolder
There is an "unattend.doc" file among files extracted form deploy.cab. It describes all the additional options you can use in the winnt.sif file.
Run setupmgr.exe. Choose: Create a new answer file then Windows (version) Unattended Answer file then Fully Unattended Installation
Now follow the wizard. Answer politely all the questions as you want them to be answered. Then finish the wizard and save the file. The next step is to rename the answer file to "winnt.sif". If you haven't been asked to provide the CD-Key then put it manually into the answer file (Under [UserData] add the following entry: ProductID="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx").
Now copy the winnt.sif file to a floppy, if you have one. But you probably don't have, so you must put your winnt.sif file in the i386 folder on your CD. The winnt.sif can be edited (before burning the CD of course) to prepare individual CDs for each computer. That maybe more convenient than changing serial numbers, computer names, IP addresses, etc. after installations. (To change the serial number after installation use: %systemroot%\system32\oobe\msoobe.exe /a in XP and slmgr.vbs -ipk in Vista) Then burn the bootable CD and you are ready to install Windows.
SID Problem
The SID (Security Identifier) is a number that must be unique on each computer in the network, otherwise they may be seen by some authentication mechanisms as the same machine. It is normally different after unattended installation, however if you install Windows on one computer only and use disk mirroring to populate the image onto other computers, the SID will be the same and you must change it after installation. If you use Norton Ghost remember to check the SID Change option or use Ghost Walker. (Ghost Walker is a DOS utility included in Norton Ghost that allows you to change the SID and computer name at each client computer after cloning, that is, before restarting the computer into Windows.) Another utility you can use is Windows's SysPrep that can both change the SID and adjust the drivers if the hardware of the source and destination computer is not identical.
Other Options
There are a great many of other ways for remote unattended installation of Windows, provided both my Microsoft and computer vendors (e.g. HP). You should be aware of these options in case you need to install a computer remotely. (By the way I'm happy that I no loger work as an HP and Microsoft Systems Engineer.) Miroslaw Kordos
Which Language is the Fastest ?
I compared the speed of C# 2008, Delphi 2007 and Java 6 on the following code:
double a = 0.12, b = 0.13, c = 0.14; int i, j;
for (i = 0; i<= 55000000; i++)
{
a += 0.0001;
c += 0.00012;
b += Math.Log(Math.Atan(Math.Sqrt(a / c)));
}
The execution time on 32-bit Windows XP with Intel M750 was:
- 11725 ms for Java
- 15232 ms for Delphi
- 11536 ms for C#
Then I compared the speed of C# 2008, Delphi 2007 and Java 6 on the following code:
double a = 0.12, b = 0.13, c = 0.14; int i, j;
for (i = 0; i<= 55000000; i++)
{
for (j = 0; j<= 5; j++)
{
if (a>b || a>c)
a += 0.012
else
a += 0.044;
}
b += 0.0000011 *c*b/a;
}
The execution time on 32-bit Windows XP with Intel M750 was:
- 1810 ms for Java
- 5160 ms for Delphi
- 4616 ms for C#
Creative Commons License. You are free to copy, share and adapt all articles and software from my web page for noncommercial purposes, provided that you attribute the work to me and place a link to my home page. What you build upon my works may be distributed only under the same or similar license and you may not distort the meaning of my original texts.







