|
MS dot Net ArchitectureHere are notes and comments about Microsoft's push to dominate the developement tools and web services software market.
| Topics this page: Related Topics:
| Screen: Max • 1024 • 800
|
Microsoft's ".NET" (dot net) strategy and ".NET Framework" technical architecture is Microsoft's answer to Java and CORBA.
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 and add-on tools.
Developer attention is fragmented in the open source world, which makes it difficult to find and keep skills. 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 counters Java's “Write once, Run anywhere” premise with “Write many languages, Run on one Micosoft platform”.
This has major implications for Microsoft's revenue model and technical careers.
dot NET Security Framework from Foundstone
Version Correspondence - Visual Studio vs. EntLib vs. Platform SDKVersions of .NET Framework and Visual Studio are paired. Visual Studio versions can co-exist on the same machine.
|
Microsoft had first said J++ is no longer one of the languages in the Visual Studio.NET suite of many languages. Microsot once provided a Java User Migration Path (JUMP) to the C# language (pronounced "see sharp"). For a while, Java was a supported language as J#.
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.
Visual?
C++ is used for low-level programming.
C# was invented by Anders Heilsberg's team.
F# is for functional programming.
VB.NET
JScript is derived from JavaScript Like Node.js.
Brad Abrams was Microsoft's lead program manager on the .NET Framework team.
Visual Studio Magazine columns by Roger Jennings of Oakleaf Systems July 2, 2002 on ACT
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,
Microsoft hired from Sun several who wrote the Java runtime, and had them create Microsoft's own Intermediate Language (MSIL) called OptIL, and associated compilers: one for each of the 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.
.NET applications, components, and controls are built using Microsoft's .NET Framework class library.
.NET applications code written using this contract of cooperation is called "managed" code.
Existing "unmanaged" COM applications can use a COM callable wrapper (CCW) to access system functionality managed by CLS-compliant library of classes, interfaces, and value types.
dot NET eliminiates COM plumbing.
COM | dot NET |
---|---|
Registration | self-described apps |
GUIDs | hierarchial namespaces in BCL |
.IDL files | unified object model |
HRESULTs | structured execptions |
IUnknown | common root object |
AddRef/release | automatic garbabe collector |
CoCreateInstance | new operator |
Microsoft Operating Systems
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. The Windows Platform SDK provides programatic access to specific versions of operating systems. The path to the current SDK's \Bin or \Bin\x64 folder should be in the Environment Variable PATH.
|
The Base Class Library (BCL) provides for developers common functions calls:
Some namespaces are standardized as ECMA 335 and ISO/IEC 23271:2006 standards.[1][2] See WIKIPEDIA
The System namespace provides support for the console environments provides base types for handlign String, DateTime, Boolean, math functions, and base classes for attributes, exceptions, and arrays.
The System.Collections namespace defines common containers (collections) for programming lists, queues, stacks, hashtables, and dictionaries. It includes support for generics.
The System.Globalization namespace
Other namespaces include .Threading, .IO for Files, .Text, .Xml, .Net for networking, .Reflection, .Security for cryptography, .Diagnostics
.Runtime for interop with COM.
Non-standarized (proprietary) Microsoft namespaces include ADO.NET, Linq, Drawing, Web (for ASP.NET), and System.Windows.Forms>
ASP.NET
10 ASP.NET Performance and Scalability Secrets By Omar Al Zabir
ASP.NET vs. Java EJBASP.NET superceded Microsoft's ASP proprietary server-side web services programming model. New features include the Windows Forms framework.Microsoft has exams certifying web programmers on version 4:
IIS vs. Apache Tomcat Web ServerAs of VS 2005, ASP.NET can be developed without IIS (Internet Information Service).In 2011, Microsoft introduced LightSwitch for easier development of business apps from either Visual Studio or a web-based interface. Model View Controller design paradigm, which replaced the ASP.NET model. |
ADO.NET and XML
Microsoft ADO.NET (Core Reference) by David Sceppa
Microsoft certification on this: XMLMicrosoft 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 proprietary patent rights. MS SOAP vs. IIOP vs. REST vs. JSONSOAP is also supported by Java and J2EE.BizTalkMicrosoft submitted the SOAP specification to W3C.
|
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 |
LINQ (Language-Integrated Query)
LINQ, introduced in 2008, are tricks in the .NET compiler which extend C# and VB languages to access a variety of data sources (in-memory and XML structures as well as databases). The compiler translates SQL query-like syntax into method calls such as: using System.Collections; namespace System.Collections.Generic{ public interface IEnumerable<out T> : IEnumerable{ new IEnumerator<T> GetEnumerator(); } IEnumerable<int> numQuery2 = numbers.Where(num => num % 2 == 0).OrderBy(n => n); foreach (int i in numQuery2){ Console.Write(i + " "); } } The <out T> is a C# 4.0 artifact. The <int> is a generic expression which are more general (generic) by not providing an implementation, because the data source is not known until run-time, IEnumerable<T> hides the true source of data. The => are lambda commands introduced with C# 3 as in-line unnamed anonymous functions executed in a delegate invocation. Delegates (event handlers) are used to pass methods as arguments to other methods. Delegates are used to define callback methods. For example, a reference to a method that compares two objects could be passed as an argument to a sort algorithm. Because the comparison code is in a separate procedure, the sort algorithm can be written in a more general way. LINQ commands are therefor program commands, not embedded SQL strings. So LINQ command input can be assisted by intellisense and errors in them can be caught at compile-time rather than at run-time when another server (the database server) resolves them. Errors in database names and datatypes are referenced as strongly typed objects.
|
WF (Windows Workflow Foundation) for asynchronous/manual processing of sequential or state-machine flows,
It was nicknamed ___ during initial development.
WPF (Windows Presentation Foundation), defined by .baml (Binary XAML) files and displayed by Silverlight/Mac Moonlight player, which compete with Adobe Flash
It was nicknamed ___ during initial development.
WCF (Windows Communication Foundation) for Web Services
WCF functions are in namespace System.ServiceModel Microsoft certification See my Web Services> for in-depth description and code samples. WIKIPEDIA: IBM and Microsoft created the Web Services Interoperability Organization (WS-I) industry consortium to create guidelines (not standards) and tests for interoperability. It defined profiles, which as a set of named web services specifications at specific revision levels, together with a set of implementation and interoperability guidelines recommending how the specifications may be used to develop interoperable web services. It became part of OASIS. The life of a service InstanceContextMode enumeration PerCall (state unaware), PerSession, Single Service BehaviorAtttribute |
Testing .NET.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.
Micrsoft's public .NET demo sites:ibuyspy.com retail storeFMStocks.com .NET service Fitch and Mather was written in VB and C#. |
Code Profilers$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. Borland's $700 Optimizeit Profiler for the Microsoft .NET Framework
$28 Performance Testing Microsoft .NET Web Applications
by Microsoft Press (September 25, 2002)
is based on the Microsoft ACT tool, but the concepts discussed are relevant to other tools as well,
such as structuring load tests
and troubleshooting performance bottlenecks and memory $30 Performance Tuning and Optimization for ASP.NET Applications (Apress, April 2003) by Jeffrey Hasan, Kenneth Tu Maximizing .NET Performance by Nick Wienholt who describes NPerf benchmark testing framework for benchmarking .NET classes and methods. Like Nunit, it's a CodeProject administered by Jonathan de Halleux. The NPerf framework uses reflection to gather the benchmark testers, the tested types, runs the tests and output the results. The user just have to write the benchmark methods. Its custom attributes are located in its NPerf.Framework namespace, NPerf.Framework.dll assembly. Microsoft .NET Distributed Applications: Integrating XML Web Services and .NET Remoting (Microsoft Press, February 12, 2003) by Matthew MacDonald describes how to use VB.NET (not C#) for Remoting, XML Web services, Message Queuing. Test-Driven Development (TDD) in Microsoft .NET (Microsoft Professional) by James W. Newkirk (administrator of the NUnit open source project for unit testing tool for the .NET environment) and Alexei A. Vorontsov $40 Designing Scalable .NET Applications (Expert's Voice) (APress; November 1, 2003) by Rickard Redler, Joachim Rossberg |
ResourcesFor programming advice, tips, code snippets, and answers to technical questions from developers using the latest technologies? Try one of these independent Web communities: angryCoder 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 AssociationUser 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.
Microsoft PartnersThese companies provided First Look seminars on Visual Studio 2012, etc.SolarTechnj.com 877.876-5278 or 201.8079889, 322 US Highway 46 West, Parsippany, NJ 07054 Premier Knowledge Solutions St. Louis, MO Netcom Learning NY, 212.629-7265 |
|
| Your first name: Your family name: Your location (city, country): Your Email address: |
Top of Page
Thank you! |