Learn more about XML here...
2008 Oct 06
1 of 4252 | activating fEATURE FOR eACH mYsITE sITE COLLECTION - Recently I had to get a feature activated over all 800 MySite of a Farm. The approach I choose was to generate an xml list of all the MySIte URL's in my farm and use a Windows application to read the XML file and generate the appropriate activation script. a) The step to get all the site collections within the WebApplication hosting MySite is to run the command of stsadm -o enumsites -url http://moss:34078/ >C:\MySiteList.XML . This xml file would include the URL of all mysites in an XML Node. b) Assuming all your mysites are under http://moss:portnumber/sites/personal/, the next thing you need to do is simply load the XML File in an XML domdocument and generate the appropriate activat......
2 of 4252 | Call for Review: Synchronized Multimedia Integration Language (SMIL 3.0) is a Proposed Recommendation - 2008-10-06: The SYMM Working Group has published the Proposed Recommendation of Synchronized Multimedia Integration Language (SMIL 3.0), pronounced "smile." SMIL 3.0 allows authors to write interactive multimedia presentations. Using SMIL 3.0, an author may describe the temporal behavior of a multimedia presentation, associate hyperlinks with media objects and describe the layout of the presentation on a screen. SMIL 3.0 is a modular XML application: its components may be used in other XML formats. SMIL also defines mobile profiles that incorporate features useful within the industry. Comments are welcome through 6 November. Read more about the Synchronized Multimedia Activity. See also W3C......
3 of 4252 | Entity Framework mapping scenarios - One thing I like to get across when I talk about the ADO.NET Entity Framework is that in V1 the Designer does not support all the capabilities of the underlying Entity Data Model (EDM) – and hence you will sometimes need to “roll up your sleeves” and start editing the underlying XML files (CSDL, MSL, SSDL) that make up an EDM. There is a document which will help if you find yourself needing to do this - Entity Framework Supported Mapping Scenarios. Summary: This white paper enumerates the supported mapping scenarios in Entity Framework. It also mentions important design considerations for store schema in order to deal with advanced mapping scenarios. The paper covers off a vari......
4 of 4252 | Enumerating Embedded Resources -
On a recent project I used a resource file to store a collection of XML schema files. When validating my XML, I needed to add all the schemas to my XmlDocument object. Instead of hard-coding each schema file's name, I decided to load the resources programmatically.
Here's a snippet of the code I ended up with:
XmlSchemaSet schemaSet = new XmlSchemaSet();
Assembly assembly = Assembly.GetExecutingAssembly();
ResourceManager resMan = XmlSchemaResources.ResourceManager;
foreach (string resource in assembly.GetManifestResourceNames())
{
if (resource == string.Concat(resMan.BaseName, ".resources"))
{
ResourceReader resReader = new ResourceReader(assembly.G......
5 of 4252 | Managing Web.Config Customizations - I'm back after a long hiatus - international relocations tend to consume a lot of your free time - so it's time to start dusting off some of the many learnings I've had over the past few months...
One important topic I've encountered with my current and previous customers is how to manage web.config updates when deploying customizations. If you've been playing around with the Solutions framework, you're probably familiar with the ease of adding SafeControls entries to your web.config via your solution definition file, but what about all those other configuration settings that inevitably come up with SharePoint customizations?
In my research, I found three tactics for implementing gen......
6 of 4252 | Not Writing Code is Great - I love writing code. Sometimes, though, not writing code is even better. Less code written means less to test, less to maintain, less to document etc etc. Ben Vincent, Lead Program Manager for Windows Live Calendar, likes to spend his free time pretending to be a developer ;-) Actually, he's going a pretty good job because his pet project, Tassography.com, is looking pretty good in it's latest release. I've been giving Ben some feedback on his code and what's particularly nice is when you can review someone's code and say "hey - that's good code, but why not throw it all away?" In Ben's own words... Thanks to Martin Peck a friend in the UK, I have rewritten the XML layer to speed up the l......
7 of 4252 | Partial Projects - The Visual Studio Team System 2008 Database Edition GDR release introduces two new ways on how to share information between projects, partial projects and composite projects. This blog post will go in to how to use partial projects, composite projects will be discussed in a later post. When we started talking to existing users of the current database project system and the use cases involved it became clear that many had a need to share actual implementation between different database projects. One common scenario we were confronted was is what I will call the "baseline" project. All projects derive from a common set of objects inside a base project. Some users solved this by cop......
8 of 4252 | Q&A: Can I use LINQ with .NET Framework 2.0? - This question from one of my MSDN sessions has stumped me for a while. I know the new language features in Visual Studio 2008 (e.g. LINQ!) are compiler magic which ultimately spits out CLR 2.0 code – but what about the supporting assemblies? Hence… I parked it. Then… I stumble across a solution. LINQBridge (from the author of the excellent LINQPad) is a small 60KB assembly that when combined with the multi-targeting capabilities of Visual Studio 2008 gives the ability to write code which does LINQ to Objects (not XML or SQL) but runs fine on a machine with just the .NET Framework 2.0 installed. Very clever....
9 of 4252 | SDN Conference Day #1 -
(Sorry A blog post in Dutch about a software conference in the Netherlands)
Vandaag (Maandag 6 okt) waren we met z'n 3 afgereist naar het pittoreske Noordwijkerhout waar de SDN Conference werd gehouden, oftewel SDC.
Op de SDC waren sessie over bijv .NET, Information worker, DotNetNuke, Delphi, Database, Architecture en User eXperience. De sessie waar ik vooral naar toe was gegeaan waren de .NET/Architecture sessies.
Voor vandaag stonden voor mij de volgende sessie op het programma. Ik zal niet te diep op de sessies ingaan:
Sessie NE.19 Introduction to ASP.NET MVC door Alex Thissen
Deze sessie ging over het nieuwe door Microsoft ontwikkelde framework om webapplica......
10 of 4252 | SMIL 3.0 Reaches Proposed Recommendation - Synchronized Multimedia Integration Language (or SMIL) 3.0 has now become a proposed recommendation at the W3C. SMIL hasn’t been widely used, but some of it is widely supported thanks to ACID tests that had the browser vendors put it in.
3.0 has the following goals:
Define an XML-based language that allows authors to write interactive
multimedia presentations. Using SMIL, an author may describe the temporal
behaviour of a multimedia presentation, associate hyperlinks with media
objects and describe the layout of the presentation on a screen.
Allow reusing of SMIL syntax and semantics in other XML-based
languages, in particular those who need to represent timing and
sync......
11 of 4252 | The W3C EXI Working Group has published the last call working draft of Efficient XML Interchange. - The W3C EXI Working Group has published the last call working draft of Efficient XML Interchange. Nothing significant has changed. It's still binary goop....
12 of 4252 | Zeyad Rajabi Talks about the Open XML SDK V2 - Zeyad is one of the Open XML document format program managers within the Office division, and has started a series of posts on the Open XML SDK V2. His first post on the Open XML SDK V2 tells you want it is (and what it is not), why you would want to use it, provides a number of important links related to the SDK, and describes the important scenarios that the SDK addresses.
Zeyad and I will be presenting together at PDC 2008 on the Open XML SDK....
2008 Oct 05
13 of 4252 | Anders Hejlsberg Talks about C#, Mentions Dynamic Language Features for C# 4.0 - In a must-read October 1, 2008 interview with Computerworld, Anders Hejlsberg talks about the history of C#, the motivations behind some of the language design decisions, and mentions that the C# team is looking at supporting dynamic programming.
From the article:
“I think that C# is becoming one of the first widely adopted multi paradigm programming languages out there. With C# you can do object oriented programming, you can do procedural programming, now you can also do functional programming with a bunch of the extensions we’ve added in C# 3.0. We’re looking at C# 4.0 supporting dynamic programming and so we aim to harvest the best from all of these previously distinct language categ......
14 of 4252 | The IE8 IEAK - Hi All, Back in June, James Pratt and Jane Maliouta alluded to IEAK improvements for IE8. Today, I will be talking about the work we have done in this area. Internet Explorer Administration Kit 8 Beta IEAK8 Beta is now available publically for everyone to try. To give you some background, the IEAK allows you to deploy customized packages and manage IE settings post deployment within corporations and among Internet Content Providers (ICP) and Internet Service Providers (ISP). For instance, Acme Corp could use IEAK to create a custom IE package for their employees that has Acme favorites, search providers, home pages, Web Slices, Accelerators, and more. We simplified creating, deploying ......
2008 Oct 04
15 of 4252 | ExecuteT4Template MSBuild task: Updated - [Source: http://geekswithblogs.net/EltonStoneman]
As Cory pointed out, my original task to execute T4 templates under MSBuild (replacing property markers in the T4 script with evaluated values from the build, see: An MSBuild task to execute T4 templates), fails under MSBuild 3.5. This is down to a change in the object model in the framework. All the useful classes are internal and all the useful properties are private, so they have to be reflected over - which makes my code brittle.
I've updated the task as part of a set here: Sixeyed MSBuild tasks, and it now works with either MSBuild 2.0 or 3.5.
Another update will be coming soon, to allow you to use named item group values, as well......
16 of 4252 | Extracting XML and SQL Bulk Updates using LINQ to XML and LINQ to SQL in .NET 3.5. - Extracting XML and SQL bulk updates using LINQ to XML and LINQ to SQL in .NET 3.5....
2008 Oct 03
17 of 4252 | Load Code Coverage Data to SQL database - Load Code Coverage Data to SQL database
Use Visual Studio’s code coverage tools to obtain the .coverage file
Visual Studio has a set of tools that can collect your code coverage data. The data structure of the collected code coverage data is in a table format. As you can see from the link, it shows how to obtain code coverage data, which is not what I am covering here. This article is talking about how to load the .coverage file into a SQL server database. You can refer to my previous blog about how to obtain x64 code coverage data. The result of the code coverage data is a .coverage file. Open it in Visual Studio 2008 Code Coverage Results panel (see attachments). When you expand the fir......
18 of 4252 | XML Visualizer v.2 - XML Visualizer v.2 improves the standard XML Visualizer in Visual Studio 2005 and 2008....
2008 Oct 02
19 of 4252 | BDC Business Data Catalog and sorting - You may want to use your SQL data to show that with a WebPart on a SharePoint Site. Now you want to sort that data with a different collation because the target language is different to US English. - Have your data on a SQL source - Create your XML file; Reference: http://msdn.microsoft.com/en-us/library/ms563661.aspx You may also use an easier way to do that with "Microsoft Business Data Catalog Definition Editor". To have that tool you need to install the "SharePoint Server 2007 SDK: Software Development Kit" from http://www.microsoft.com/downloads/details.aspx?FamilyId=6D94E307-67D9-41AC-B2D6-0074D6286FA9&displaylang=en - You must create also the SQL SELECT ......
20 of 4252 | How to marshal List using JAXB and xjc? - Hi all,<br><br>I'm having problems to marshal objects of xjc generated java classes to xml output. In detail I am facing problems to use a list of
...
21 of 4252 | Lær deg LINQ med Christian Nagel fra Thinktecture - Den 15. desember er det klart for LINQ-kurs med Christian Nagel fra Thinktecture.com. Dette blir garantert et populært kurs og her blir det først til mølla som gjelder. Kurset avholdes hos Programutvikling AS på Fornebu. Kurset omfatter C# 3.0 and LINQ, LINQ to Objects, LINQ to XML, ADO.NET Entity Framework, LINQ to relational data og ADO.NET Data Services.
Les mer om kurset og meld deg på her...
2008 Oct 01
22 of 4252 | Code Synthesis has released XSD 3.2.0, a free-as-in-speech (GPL) C++ W3C XML Schema to C++ data binding library. - Code Synthesis has released XSD 3.2.0, a free-as-in-speech (GPL) C++ W3C XML Schema to C++ data binding library. New features in this release include: More......
23 of 4252 | TechNet Magazine, October issue is 100% Virtualization - Since it's October 1st, I thought this may be a timely post. Not-so-coincidentally, I'm one the authors in this issue. :-) (please forgive the shameless self-promotion)
Virtualization: An Introduction to Hyper-V in Windows Server 2008
The introduction of Hyper-V makes virtualization an even more compelling solution for IT environments. Get an overview of today’s virtualization market and see how Hyper-V improves the manageability, reliability, and security of virtualization Rajiv Arunkundram
Virtualization: Manage Your Virtual Environments with VMM 2008
System Center Virtual Machine Manager provides a consolidated interface for managing your virtual infrastructure. The la......
2008 Sep 30
24 of 4252 | How to pass an array of binary values in SQL Server 2005? - I have a stored procedure that expects an array of binary values. I'm currently passing it as a comma separate string but I think that is a horrible hack. I tried using XML, but that didn't seem to work, but it's very possible I could have been doing it wrong.
How does everyone else pass an array of binary values to stored procedures?...
25 of 4252 | LINQ to TEXT and LINQ to CSV - LINQ is a great tool for writing ad-hoc queries and transforms, and occasionally I need to write queries or transforms on text files. And sometimes I receive CSV files, and need to do something with them. I wrote a blog post on LINQ to Text files over two years ago. My coding practices today differ from what I presented in that blog post. This post presents my current approach for dealing with text files using LINQ, and includes a function for splitting CSV lines.
In that post, I detailed an approach for writing lazy queries on text files. Well, to tell you the truth, I never write lazy queries on text files – I simply use File.ReadAllLines and write queries o......
26 of 4252 | New Snippet Designer Add-in for Visual Studio - Matthew Manela, an engineer on our Online Tools team, has created and released a free, community-based tool called the Snippet Designer. His tool is a Visual Studio add-in that allows you to create and edit snippets from inside the IDE. Snippets are a feature in Visual Studio that allow you to quickly insert “snippets” of code in your program. A year or two ago I wrote a post on snippets which you can find here. Included in the Snippet Designer are: A tool for quickly creating snippets for C#, VB and XML development, including the ability to create snippet literals and a host of other features. A Snippet Explorer that allows you to search by keyword and view the active code in a ......
27 of 4252 | Various pieces of news - Now that the book is finished writing, reality is catching up with me and I am finally able to work on the backlog of ideas and projects that has accumulated in the last months. Time to give an update of stuff I do or will do soon. Silverlight 2 Unleashed status On my side, the work is done and I delivered my copy to the editor. We had a small bunch of last minute corrections when Silverlight 2 RC0 made it to the web, and I am happy the good people at Sams gave me some time to clean up a few kinks. I think we're in pretty good shape now. It was not too bad, but it's even better now :) On Silverlight side, as all of you know by now, Silverlight 2 RC0 was released for developers, which can......
28 of 4252 | XmlReflector - This library provides XML based dynamic object mapping which can be used while designing dynamic data, configuration and business layers....
2008 Sep 29
29 of 4252 | Working with Content Types - Part 2 of N - So continuing on from where we left off in Part 1, you have a series of site columns to start with. Time to build the types. As with the site columns, you will want to use a feature for these. The actual feature definition is actually pretty easy, but there are a couple of things to know up front. As with the site columns, I opt to use the declarative approach to defining content types instead of the UI or the OM and deploy using features. This is not, as we will see, without cost. As with site columns, the XML schema is reasonably well defined here. Best Practice Number 3: Keep your content type definitions together too Just like with the site col......
2008 Sep 28
30 of 4252 | HDC starts tonight!! - The Heartland Developers Conference has come to Minneapolis and things start kicking off tonight with the pre-conference party, down at the Hyatt Regency in downtown Minneapolis.
I attended the HDC last year in Omaha as a representative of Magenic and enjoyed it so much I decided to speak at the event this year (both in Minneapolis and Omaha.)
I'm speaking on Monday and my time slot has some pretty tough competition with Andrew Troelson discussing LINQ Query Internals and Amanda Laucher discussing Real World F#. If I wasn't speaking at the same time, I would definitely be sitting in Amanda's session. She's a good friend of mine and an excellent presenter (and F# is pretty neat stuff ......
2008 Sep 26
31 of 4252 | SharePoint's Hidden Gems - In a previous post I linked off to Sahil Malik's blog, where he demonstrated the use of the URL protocol for working with SharePoint's RPC methods to export a list's XML definition. Well, since he let the cat part way out of the bag on one of my oldest and best trick, I figured I'd let it all the way out, showing off perhaps my favorite gem of the SharePoint API.
There is an awful lot you can do with the RPC methods that make up owssvr.dll. For example, Sahil's post shows you how to get the configuration/definition XML. But you can also get the XML representing the values in the list. For example:
http://Server_Name/[sites/][Site_Name/]_vti_bin/owssvr.dll?Cmd=
Display&List=GUID&......
32 of 4252 | Software Enumerated Devices – how to avoid them in your PMQ - One of the biggest image footprint impact areas is in regards to “SWEnums” or “Software Enumerated Devices”. (pronounced “Swee-numbs”) “How do these get into my image?” you may ask? There’s a simple answer and a couple simple solutions or a more in-depth solution to this behavior. Please note – I’m not going to provide the end-to-end solution in this post; however, my goal is to get you, as the reader, aware of your options and what to look for with regards to removing the SWEnums from your image. The “Simple Answer” Simply put – SWEnums are device drivers for virtual (AKA – no physical device really......
33 of 4252 | Word macros in the custom template for the document library diappears once document saved - SPS 2003 / MOSS - I have came across an interesting integration of Smart Documents with the SharePoint Document libraries through the custom template. I thought of sharing this with you guys. As long as you are using the OOB template.docx then we never worried about the document templates and its behavior but when we are using the custom templates with Macros on it then you will be encountering the issue on synchronizing the template with the client.
Whenever you add any custom Macros in the custom template of the document library then its mandatory to add two more default macros which are documented in the following article
http://msdn.microsoft.com/en-us/library/bb421314(office.11).aspx . But t......
34 of 4252 | XML-based Model-Driven Engineering - Using XML technologies for Model-Driven Engineering...
2008 Sep 25
35 of 4252 | Bare Bones Software has released version 9.0.1 of BBEdit, my preferred text editor on the Mac, my favorite XML editor on any platforms, what I'm using to type these very words. - Bare Bones Software has released version 9.0.1 of BBEdit, my preferred text editor on the Mac, my favorite XML editor on any platforms, what I'm using to type these very words. This is a bug fix release. New copies cost $125. If you bought 8.7 or later this year, upgrades are free. Mac OS X 10.4 or later is required....
36 of 4252 | Converting HL7 to XML - An initial stab at a class to convert HL7 to XML. Feel free to contribute....
37 of 4252 | PowerTools for Open XML Installer and Award Winning PowerTools Scripts - Julien Chable has posted the details (in English and French) of his installer for PowerTools for Open XML.
Antonio Zamora has posted details about the award-winning scripts that he wrote using PowerTools for Open XML and the VMware Infrastructure Toolkit. Nice!
Róger Bermúdez posted about a real-life scenario - using a script to send bulk mail containing Open Xml Documents to a group of people....
38 of 4252 | Virtual Earth v6.2 Map Control API Released - The Virtual Earth v6.2 Map Control API was released today! It is reverse compatible with the v6.1 version of the API. Here's a list of some of the new enhancements in the v6.2 API: Pushpin Clustering - This feature adds the ability to group pushpins into clusters so you can reduce the number of pushpins and clutter on the map at high altitudes. A new SetClusteringConfiguration method was added to VEShapeLayer which allows you to control how pushpins are grouped together into clusters. A default grid clustering algorithm is provided with the control, however you can also override the default clustering algorithm and provide your own custom algorithm. There are also APIs to ac......
39 of 4252 | Workshop Highlights Document Interoperability - A two-day workshop is planned around the Document Interoperability Initiative (DII). The goal is to share information with the developer community and solicit feedback on how we can work together to improve interoperability.
The workshop includes presentations by the Office product team explaining Open XML interoperability, document format interoperability topics, hands-on labs with a pre-release version of 2007 Office System SP2, and discussion time.
For more information and registration links see Doug Mahugh’s posting, DII workshop, October 23-24 in Redmond. If you have a topic that you might like to present, contact Doug through his blog....
2008 Sep 24
40 of 4252 | DII workshop, October 23-24 in Redmond - Based on feedback from the DII workshop in Redmond this summer, we're making plans to host another event this fall. It will be a two-day event on October 23-24, covering Open XML implementation and interoperability, as well as other document format interoperability topics.
We heard from some of the attendees of the July workshop that they'd like to see a similar event around Open XML interop, and that's why we're doing this event. It will be in Redmond again because that's the only way we can realistically get multiple Office PMs involved, and attendees of the July event found the direct interaction with our technical experts to be very useful. This workshop is not restricted to Open XML ......
41 of 4252 | My experience with upgrading TFS 2005 to TFS 2008 -
I can describe my feeling of mgration from TFS 2005 to TFS 2008 in one word-NIGHTMARE.
I've read a few links with tips about conversion and thought that I am ready:
Upgrade TFS 2005 to 2008
Tips for upgrading from TFS2005 to TFS2008
The TFS installation guide .
Considerations on using TFS 2008 with Visual Studio 2005
VSTS 2005 / 2008 Compatibility Matrix
Unrelated: If you need to migrate or synchronize with other version control (VC) and work-item tracking (WIT) systems , look at CodePlex TFS Migration and Synchronization Toolkit
I've done all preliminary work as it was recommended.
When I've started installation, I've got TF220066 error.
The arti......
42 of 4252 | Tech-ED ????? Excel VSTO ? ????????? ???? XML Web ????????????????? - ??? Tech-ED ????? Excel VSTO ? ?????????????? XML Web ?????????????????????? Tech-ED ???????????????????????????? Excel ????????????????? ???? Web ??????????·???????? ???????????????SharePoint ?????????????????·????? ????????? ???????????SharePoint Server ? Excel Service ???? ???????????? ?????????????????????????????????????????????? ?????????? Excel ? .NET ? XML Web ???????????????????????????????????????????????????? ??????????? Excel VSTO ? ???? XML Web ???????? ????????????? Excel VSTO ? ????...(read more)...
2008 Sep 23
43 of 4252 | A Minimal HTML Document - I am often surprised by just how many professionally-designed sites are delivered in the form of incomplete HTML documents. To be fair, however, the amount of code required for even an empty HTML document has grown significantly over the years.
One upon a time, an HTML document only had to contain a declaration and a tag. From the HTML 3.2 recommendation:
In practice, the HTML, HEAD and BODY start and end tags can be omitted from the markup […]
Every HTML 3.2 document must also include the descriptive title element. A minimal HTML 3.2 document thus looks like:
A study of population dynamics
At the time HTML 3.2 was the recommended spec, very few web designers bothered with a , or ......
44 of 4252 | Audible Ajax Episode 30: Interview with Kris Zyp - Dealing with data is one of those areas of software development that we haven’t quite gotten right yet; anyone who tells you otherwise is selling something (or has developed an open-source framework). Whether you embed SQL in your code, map objects to data via some kind of tool, mash it all up LINQ-style, or go all sci-fi with funky XML-all-the-way-down tools, each approach has a series of trade-offs and compromises that just don’t feel right.
Kris Zip, a researcher with SitePen, is throwing his hat into the ring with efforts he and others at SitePen are leading to provide Ajax developers with a fully coherent JSON stack. That is, frameworks and services that allow developers to deal entire......
45 of 4252 | How to: Customize the Thesaurus in SharePoint Search and Search Server - The thesaurus is an xml file that provides users with a means of automatically expanding or rewriting their queries to include synonyms, acronyms, etc. For example, in a chemical company, product ID 1234, oxygen, O2 and LOX could all refer to the same item. A SharePoint Search administrator can modify the thesaurus file to substitute all these words at search query time. This document explains how to set up a thesaurus and where to find the relevant files. Supported Thesaurus Syntax: To use the sample files provided by the product, you need to remove the comment beginning (<!--) and ending lines (-->) from the xml file. Explanation of terms: Term Meaning ......
46 of 4252 | POP QUIZ: What’s wrong with this code – part 3 - Imagine you are a developer and your boss comes to you complaining that your piece of code has been deemed to be taking up too much memory and causing problems for the application. You take a look at your code and you see the following, assume that stream is defined above this and is correct: const String myConstStr = "CurrentFile";
const String stylesheet = "..\\..\\XSLTFile1.xslt";
int i = 0;
for(i = 0; i < 1000; i++)
{
XslTransform xslt = new XslTransform();
xslt.Load(stylesheet);
//Load the XML data file.
String filename = myConstStr + i.ToString() + ......
47 of 4252 | Provider Specific Configuration Keys - When developing a provider it's possible to create provider specific configuration keys that administrators can use to change parameters for your provider. These must be defined at setup time in the machine.config registration of the provider otherwise any attempt by the application to create a ConfigItem object and pass it to the RBS client library will fail. This can be specified as follows:
<Provider name="file"> ... <ProviderSpecificConfigKey name="pool_capacity" format="Number"/></Provider>
Formats allowed are Number, Name, Boolean, Binary and Duration. When registering the blob store with the RBS instance, the stored procedure ms......
48 of 4252 | Update on .NET Framework 3.5 SP1 and Windows Update - The .NET Framework 3.5 SP1 included a bunch of new features, but as a Service Pack it also included a number of bug fixes and many improvements. These fixes included all aspects of the .NET Framework from ASP.NET to WPF and the CLR. Will the .NET Framework 3.5 SP1 break my 2.0 apps? Almost certainly not. Why Not? Remember that 3.5 (and 3.0 before it) all have the 2.0 CLR at their core. If you want excessive detail on this, I've got it. Because the 2.0 CLR is the engine underneath and 3.0 and 3.5 are primarily additive*, there's inherently high application compatibility between these releases. Realize that 2.0, 3.0 and 3.5 are not different products, no matter what anyone says. They ......
2008 Sep 22
49 of 4252 | Developer s vareckou - Je tady predstavení dalšího clena DPE týmu. Na psaní tohoto postu jsem se opravdu tešila. Proc? Kolega, o kterém vám budu vyprávet, má zajímavého konícka. Tentokrát vás seznámím se Štepánem Bechynským, který pracuje na pozici Developer Evangelist.
Oficiální verze:
Náplní jeho práce je osveta mezi programátory smerem k novým technologiím. Zjednodušene receno, pripravuje vývojáre na to, co bude na trh uvedeno za pul roku až rok. Takže .NET Framework 3.5 je z jeho pohledu zastaralá technologie :). V letech 1995 až 2006 pracoval jako programátor a lektor na volné noze. Dále pak pracoval pro ceské i mezinárodní spolecnosti a školil vývojáre ve spolecnosti Gopas. Podílel s......
50 of 4252 | Model View Presenter / Passive View Benefits -
Model View Presenter / Passive View Benefits
A hot topic near and dear to my heart is Model View Presenter (MVP) or Passive View design pattern. This design pattern forms a good model for keeping a strong separation between UI logic and business logic.
In the MVP model, the data access objects constitute the model, the View is the UI components kept as simple as they can be and the Presenter is where the business logic is. These three components interact with other through interfaces to further reinforce the logical separation.
The presenter should have no idea where the Model gets its data or how the data is persisted. The Model defines an interface that must be implemen......