Pages






Sunday, February 20, 2011

MS dot Net Architecture

Version Correspondence - Visual Studio vs. EntLib vs. Platform SDK

Versions of .NET Framework and Visual Studio are paired. Visual Studio versions can co-exist on the same machine.

.NET Framework version Visual Studio version Launch OS Support Features EntLib Platform
SDK XML
v1.0.3705 2002 - - - - - -
v1.1.4322 2003 - XP (IE 6.00), 2000 (IE 5.01) Not shipped with Vista. 1.1 June 2005 - -
v2.0.50727 2005 Nov. 2005 - - 2.0 Jan. 2006
3.1 May 2007 5.0 -
v3.0 2008 May 2008 Shipped with Vista, download for XP SP1 (IE 7),
Server 2003 WCF, WF, WPF, LINQ to SQL, Silverlight 4.0 May 2008 6.0 (WinFX) -
v3.5 (30729) SP1 2008 SP1 x64 & IA64 Oct 2008 download for XP SP2,
Vista,
Server 2003 SP1 SQL Server 2008 support. Dependency injection (DI IoC pattern)/interception/cross-cutting mechanism in the Unity Application Block. 4.1 Oct 2008 6.1 -
v3.5 update - - - KB958481 - - -
v4.0 2010 Beta1 2009 Windows 7 Parallel processing 5.0? - -

LINQ (Language-Integrated Query) language extensions in C# and VB (introduced in 2008) enable access to in-memory and XML structures as well as databases using syntax like SQL, but as program commands, not as embedded SQL strings. This LINQ is good because crashing at run-time, errors in database names and datatypes are referenced as strongly typed objects which appear as intellisense and can be caught at compile-time.

WF (Windows Workflow Foundation) for asynchronous/manual processing of sequential or state-machine flows,

WPF (Windows Presentation Foundation), defined by .baml (Binary XAML) files and displayed by Silverlight/Mac Moonlight player competing with Adobe Flashanother page on this site


Go to Top of this page.
Previous topic this page
Next topic this page
Set screen The Cathedral and the Bazaar

Eric S. Raymond used this phrase to explain the difference between Microsoft's preferenced for a closed Cathedral approach versus open-source approaches by Java vendors.

For large organizations, Microsoft's cathedral provides more stability and control because of the closed, incremental approach. More importantly, Microsoft's approach yields a larger base of capable developers and users. A focused set of users raises the economic threshold for when investors are willing to invest in subsidiary products and services such as training products.

Because of its diversity, developer attention is fragmented in the open source world, which makes it difficult to find and keep good people. In order to keep up with the fast pace of technological change, developers need to jump to the next hottest thing (even before making the current technology truely usable).

This may change as the popularity of Google Apps grows and concentrates developer attention.

Microsoft's ".NET" (dot net) strategy and ".NET Framework" technical architecture is Microsoft's answer to Java and CORBA.

A Sharp Java Killer?
Microsoft had first said J++ is no longer one of the languages in the Visual Studio.NET suite of many languages. Early on, Microsot provided a Java User Migration Path (JUMP) to the C# language (pronounced "see sharp"). However, Java is now a supported language as J#.

Microsoft counters Java's “Write once, Run anywhere” premise with “Write many languages, Run on one Micosoft platform”.

Set screen CLR (Common Language Runtime)
Microsoft rewrote the Java runtime into Microsoft's own Intermediate Language (MSIL) called OptIL, associated compilers: one for each of the "20" existing programming source languages, and a run-time compiler to create machine code executable native to each hardware platform.

Much like the Java RunTime engine, a Common Language Runtime (CLR) execution engine (EE) "assembles" and "manages" OptIL code and provides services such as memory management, cross language integration, exception handling, code access security, and automatic lifetime control of objects.

Microsoft OptIL vs. Java IDL Compiler
Microsoft 's replacement for IDL (Interface Definition Language) is to have self-describing objects. The new OptIL compilers supply metadata for the .NET Framework to locate and unwind stack frames, and include information required for debugging and garbage collection, as well as security attributes, marshaling data, extended class and member definitions, version binding, and other information required by the runtime.

.NET applications, components, and controls are built using Microsoft's .NET Framework class library. Existing "unmanaged" COM applications will use a COM callable wrapper (CCW) to access system functionality managed by CLS-compliant library of classes, interfaces, and value types.

.NET applications code written using this contract of cooperation is called "managed" code.

ASP.NET vs. Java EJB
ASP.NET is the next generation ASP's proprietary server-side web services programming model. New features include the Windows Forms frameworkon this page.

IIS vs. Apache Tomcat Web Server
As of VS 2005, ASP.NET can be developed without IIS (Internet Information Service).



[45-minutes] .NET Framework Overviews by Brad Abrams, Microsoft's lead program manager on the .NET Framework team, and and C# inventor Anders Heilsberg

The Foundstone dot NET Security Framework

Micrsoft's public .NET demo sites:
A website external to this site ibuyspy.com retail store

A website external to this site FMStocks.com .NET service Fitch and Mather was written in VB and C#.

A website external to this site Favorites.com .NET service "Domain Market".
More from Micrsoft
Microsoft's .NET Framework Overview and Glossary.

Microsoft's XML TOC

Preparing Your Visual Basic 6.0 Applications for the Upgrade to Visual Basic.NET This October 2000 article discusses the fundamental architectural issues when upgrading from Visual Basic 6 to Visual Basic.NET using the Visual Basic.NET Upgrade Tool.

Microsoft has a 5 day course 2373B Programming with Microsoft Visual Basic.NET offered for $2,125 by Quickstart

IBM and Microsoft, (without Sun) created the Web Services Interoperability Organization (WS-I), industry consortium.

download Download Dotnetredist.exe Microsoft .NET Redistributable Package (21.8 MB). When executed, it extracts file Dotnetfx.exe and client time elements for the .NET Framework.


Go to Top of this page.
Previous topic this page
Next topic this page
Set screen Windows Platform SDK

A version of the SDK is installed. The path to the current SDK's \Bin or \Bin\x64 folder should be in the Environment Variable PATH.

o The Windows Platform SDK for 32 & 64-bit Windows Server 2008/2003, Vista SP1/XP and .NET Framework 3.5 (Setup.exe dated 2/5/2008, which retrieves the 1,4GB contents of the ISO CD) and installs (in 1 hour) to folder
C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin
This obsoletes:
o

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\x64
o Windows 2003/XP/2000 R2 Platform SDK Web Install - March 2006 Edition which installs to folder
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin
o Windows Vista Platform SDK does not support use of the Digital ID file (generally called MyCredentials.spc) and private key (MyPrivateKey.pvk). This is explained in KB SO5820. This is installed to
C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin


Go to Top of this page.
Previous topic this page
Next topic this page
Set screen Visual Studio vs. Eclipse IDEs

The two most popular developer development environments are Microsoft Visual Studio and open-source Eclipse.

Versions of the Microsoft's .NET Framework and Visual Studio are paired, and can co-exist on the same machine.

Telephone, PDA and other mobile device applications are constructed using Microsoft's .NET Compact Framework 2.0.

[Microsoft's dot Net Framework]


Go to Top of this page.
Previous topic this page
Next topic this page
Set screen ASP.NET

10 ASP.NET Performance and Scalability Secrets By Omar Al Zabir


Go to Top of this page.
Previous topic this page
Next topic this page
Set screen "Doesn't Play Well With Others"

Microsoft has been criticized for not being very much involved with the development of Business Transaction Protocols (BTP) by Boston-based OASIS (Organization for the Advancement of Structured Information Standards) -- which maintains the xml.coverpages.org -- and the United Nations CEFACT , who are trying to standardize XML tag names for all business transactions being conducted on-line.

Let's see how long Microsoft will be part of this group or break off so they can claim patent rights on what others have developed.

MS SOAP vs. IIOP vs. REST vs. JSON
SOAP is also supported by Java and J2EE.

BizTalk
Microsoft submitted the SOAP specification to W3C.



Microsoft has the MCAD - Microsoft Certified Application Developer for .NET credential.

Microsoft ADO.NET (Core Reference) by David Sceppa

Introducing Microsoft .NET My Services by Jeannine Gailey and Christopher A. Jones

Inside C#, Second Edition by Tom Archer

Microsoft Visual C# (Core Reference) by Mickey Williams

Building COM+ Applications Using Microsoft .NET Enterprise Services, Course 2557

Application Upgrade and Interoperability Using Visual Studio .NET, Course 2571


Go to Top of this page.
Previous topic this page
Next topic this page
Set screen WCF Web Services

WCF (Windows Communication Foundation) System.ServiceModel

The life of a service InstanceContextMode enumeration PerCall (state unaware), PerSession, Single Service BehaviorAtttribute


Go to Top of this page.
Previous topic this page
Next topic this page
Set screen Web Services

Application
Concept Web
Standard Programs
Data XML Universal data format Objects
Schema XSD Universal type system Classes
Directory UDDI Directory of Services
Listing DISCO Service discovery
Services WSDL Service descriptions Methods
Services Invocation SOAP Calls
Services Invocation REST Calls

* Visual Studio SOAP toolkit for Microsoft Windows� 2000 (not Win 9x) can be download from
o Versions:
+ Version 1 released July 2000 interoperates with Visual Studio.NET Beta 1 uses older Service Description Language (SDL) and scalar atomic data types using UTF-8 encoding based on Windows code page 1252.
+ Version 2 Beta 1 released January 2, 2001 based on SOAP Specification version 1.1, adds support for new Web Services Description Language (WSDL) 1.0 contracts to define the SOAP messages and service call formats; Universal Description, Discovery and Integration (UDDI), and the Version 2.0 will pass strings to BSTR parameters encoded as UTF-16.
+ The final release of SOAP Toolkit version 2.0 will be fully supported by Microsoft product support.
o This requires Visual Studio SP 4.
o The Listener provided is ASP, not ISAPI.
o MSXML Parser 3.0 is included in the SOAP toolkit.
* All this work done by developers will be hadled automatically by Microsoft's Visual Studio.NET which was distributed as Beta 1 on January 2001.

Although VisualBasic.NET (also known as Visual Basic 7.0) features new Web Forms which are HTML pages with Visual Basic events (such as native support for accessibility). Microsoft recommends using it for business objects and use ASP.NET, an enhanced version of ASP, which uses Web Forms for interfacing with Web Services hosted by ASP.NET, which targets disconnected data. The Mobile Internet Toolkit is part of ASP.NET.

The NET Framework SDK TDG (Tool Developer Guide) is included in the ASP.NET CD to manipulate new & old registry classes.





Chris Dengler's July 2000 SDL wrapper code to returing ADO Recordtypes and arrays with SOAP messaging.

Recommended book Understanding SOAP: The Authoritative Solution by Kennard Scribner SAMS ISBN 0-672-31922-5 Get this book discounted from Amazon



Go to Top of this page.
Previous topic this page
Next topic this page
Set screen Plumbing

dot NET eliminiates COM plumbing

COM dot NET
Registration self-described apps
GUIDs hierarchial namespaces
.IDL files unified object model
HRESULTs structured execptions
IUnknown common root object
AddRef/release automatic garbabe collector
CoCreateInstance new operator



Code Profilers

tool $295 ANTS (Advanced .NET Tool Suite) Profiler works with $690 ANTS Load and $2985 ANTS Enterprise Load. From Red-gate, makers of SQL Compare and SQL Data Compare.

tool DevPartner from Compuware

tool Borland's $700 Optimizeit Profiler for the Microsoft .NET Framework

tool Performance Tips and Tricks in .NET Applications: A .NET Developer Platform White Paper by Emmanuel Schanzer, August 2001

tool Performance Considerations for Run-Time Technologies in the .NET Framework: A .NET Developer Platform White Paper by Emmanuel Schanzer, August 2001


Go to Top of this page.
Previous topic this page
Next topic this page
Set screen Assets

This describes the artifacts of an XML based system, starting from the client's point of view.





Graphic based on Karthik Ravindran's voice presentation: Implementing and Accessing Web Services Using Visual Basic 6.0 and the SOAP Toolkit for Visual Studio

Go to Top of this page.
Previous topic this page
Next topic this page

Set screen Client ROPE Proxy
A ROPE proxy serves a similiar function as WinSock, through which client software issue and receive communications to web services on a web server.

If a SOAP client is on a different computer than the SOAP server, you will need to copy ROPE.dll from the Visual Studio SOAP Toolkit and register it on the client computer (tunning command regsvr32 rope.dll).

Got SOAP?

The ROPE Proxy uses methods in COM objects written to SOAP standard which defines the "handshaking" between client and server.

A client first sends a Services Description method ROPE.SDMethodInfo and other methods to discover what web services a particular server provides on this page

The ROPE.SoapPackager object creates a SOAP envelope and calls

It then calls ROPE.WireTransfer to execute HTTP GET and POST requests by calling methods AddStdSOAPHeaders and PostDataToURI using parameters DataSent and DataReceived.

Web Serices Discovery
methods in the ROPE.SDServiceDescriptors collection: <> ROPE.SDEndPointInfo describes the URI location of web services.

ROPE.SDMethodInfo provides information about methods exposed by a Web Service.

ROPE.SDParameterInfo then provides requirements for calling those methods.

WSDL = Web Services Description Language
Describes the methods available. contract between a server and its clients. Example: ProdInfo.dll

SDL = Service Description Language
Here is a sample request.







The SDL wizard can generate this.

ASP
XML references COM methods.

<%@ language=VB Script %>
<%Option Explicit

ADO









For XML Schema






Go to Top of this page.
Previous topic this page
Next topic this page
Set screen Resources

For programming advice, tips, code snippets, and answers to technical questions from developers using the latest technologies? Try one of these independent Web communities:

angryCoder Check out this e-zine, written using the Microsoft .NET Framework, where you can submit articles and download source code for a minimal donation.

C# Corner has developers using C# and .NET meet and exchange their ideas, code, and expertise through discussion forums or submissions.

The Code Project is a community of developers using Windows who specialize in C++, MFC, C#, and .NET.

DotNetJunkies.com offers information, tools, and education utilizing the ASP.NET Framework.

Visual Studio and dot Net

International .NET Association
User groups interested in the Microsoft .NET platform have the International .NET Association (http://www.ineta.org) resource to connect with their peers and sponsors.

INETA enables interaction among user groups interested in .NET, providing them with unique educational support. Make sure your user group is as vibrant and effective as it can be in providing .NET education-register with INETA today at http://info@ineta.org.



tool Lutz Roeder's Reflector for .NET is a class browser for .NET components and assemblies. It features hierarchical assembly and namespace views, type and member dictionary index search, type reference search, custom attributes view, an IL disassembler and viewers for C# XML documentations and MSDN help. Assembly dependency trees, supertype/subtype hierarchies and resources can be inspected as well. Function prototypes are displayed in C#, VB and Eiffel syntax. Windows XP enabled.


Go to Top of this page.
Previous topic this page
Next topic this page
Set screen VS.NET IDE

The VS.NET IDE (Integrated development environment) is named devenv.exe. So you can invoke it by typing "devenv" (with no quotes) from the Run window. To use shortcut keys, type Ctrl-Esc, R (for Run), devenv, Enter.

When Visual Studio is installed, you are prompted to set Envrionment settings for General, Visual Basic, C#, or Web Development. If later you want to switch, in menu Tools > Import and Export Settings > Reset all settings option.

Projects exist within a Solution. By default, project files are saved on Vista machine's
C:\Users\user\Documents\Visual Studio 2008\Projects\MyProject

Efficiently Using Expressions (Aggregates, Selections,



Pelli's dotNetWiki.org blog & forum offering downloads.

Visual Studio Magazine columns by Roger Jennings of Oakleaf Systems July 2, 2002 on ACT

.NET Fun Facts at the Sprout


Go to Top of this page.
Previous topic this page
Next topic this page
Set screen Testing .NET

tool .TEST integrates with Microsoft� Visual Studio .NET� to perform Static Analysis of finished .NET Framework classes and methods based on "Best Practices" and ".NET Framework Design Guidelines". It automatically creates unit test harnesses, stubs, and test cases for automating regression testing. It's in the same Automated Error Prevention product line of group-oriented tools as Parasoft's JTest for Java.


SOURCE:http://www.wilsonmar.com/msdotnet.htm

0 comments: