.NET

There are 43 entries for the tag .NET
Bye Bye System.Data.OracleClient

In these days Microsoft is making too much decisions that I can’t understand… By checking my feed reader, today I’ve discovered this news directly from the ADO.NET Team Blog: System.Data.OracleClient will be deprecated from the next .NET Framework releases. Wow… the native support for Oracle database in .NET will be discontinued… and the reasons? This: We learned  that a significantly large portion of customers use our partners’  ADO.NET providers for Oracle;  with regularly updated support for Oracle releases and new features. In addition, many of the third party providers are able to consistently...

posted @ Monday, June 22, 2009 2:38 PM | Feedback (3)

WF 4.0 Designer Rehosting: we’ve see the light!!

How many times I’ve written about Workflow Designer Rehosting feature inside Windows Workflow Foundation? Too many times I think… If you’ve done projects with WF 3.5 and you’ve tryed to make in production the Designer Rehosting feature, you can understand what I mean: in WF 3.5 hosting the Workflow Designer inside an application (a WPF application for example) is too hard, not so flexible and not so intuitive for the end user. I’ve received many answer from the WF Dev Team in the past about this topic and they said me that the things will change with the...

posted @ Thursday, June 18, 2009 9:13 AM | Feedback (6)

Windows Workflow 4.0: quick Activity reference

The .NET Endpoint Team has published an interesting post where they give a brief description on all the new activities that ships with the WF 4.0 Beta 1 platform. I recommend to all that works with WF 4.0 to check it… a quick and easy way to understand all the new engine I think. This is the main content of the summary (cross posted here for don’t loose it): Activities are the unit of work in a workflow program. Activities in WF4 have a signature and body. The signature of an activity is defined in terms of its...

posted @ Friday, May 29, 2009 8:51 AM | Feedback (8)

Visual Studio 2010 Beta 1: so good!

I’m so surprised about the Visual Studio 2010 Beta 1 release: after some days of testing and after some project’s migrations on the new platform, the environment never crashed and the performances are really good. The new WPF environment is really cool and I love expecially the new WPF Designer (finally Intellisense in XAML) and the new Workflow engine (FlowChart workflows are really a great new thing!!). I hope that something more will be done on the new Workflow Designer and I’m waiting for news about the Workflow designer hosting capabilities. Wonderful to see that...

posted @ Wednesday, May 27, 2009 9:06 AM | Feedback (0)

Model-View-ViewModel Toolkit for Visual Studio 2008

I think that everyone involved on building complex WPF applications are exactly in my situation: we've spent lots of days architecturing the applications, choosing the right pattern (M-V-VM in this case) and training all the Dev Team on using it, organize the work with other developers involved on the project (we've figures that works mainly on the View, other that works on the Model and others that works on the ViewModel side) and now that the work is in an advanced state what happens? In one of my "mainly monitored" section of Codeplex (WPF Futures) is released the first...

posted @ Saturday, May 02, 2009 3:37 PM | Feedback (1)

.NET RIA Services

At MIX '09, together with the announce of the Silverlight version 3 era, an interesting new project was announced to the public: Microsoft has released the first public CTP of .NET RIA Services (formerly codenamed Alexandria), along with a basic first walkthrough of using it. As explained by Microsoft, .NET RIA Services simplifies the traditional n-tier application pattern by bringing together the ASP.NET and Silverlight platforms. The RIA Services provides a pattern to write application logic that runs on the mid-tier and controls access to data for queries, changes and custom operations. It also provides end-to-end support for common tasks...

posted @ Thursday, March 19, 2009 9:29 AM | Feedback (0)

An interesting OBA scenario...

Beth Massi (he has one of my favourite blogs) has written today an interesting post where he showcases an Office Business Appliocation scenario that he and is team has put together for TechReady 8. I've written in the past lots of posts about OBAs and the opportunities you have on writing applications on top of the Microsoft Office family, and this sample gives you another interesting idea I think. The Beth's scenario is this: We needed a way to easily and securely expose our LOB data -- the Northwind database -- to the enterprise. So we created...

posted @ Tuesday, February 03, 2009 10:01 AM | Feedback (0)

WPF and the Model-View-ViewModel Design Pattern

If you're a WPF developer and you're involved on developing enterprise level applications, I think that at least once a time you've thinked on what could be the best architecture for your application. Design Patterns are always the starting point to have in mind when architecturing a complex sofwtare system. But what's the best to choice? I remember that, when writing Windows Form applications, my model of reference was the Model-View-Controller Design Pattern (MVC). But what about WPF? The debats are always opened on this topic, but seems that the community of WPF developers agree on saying that the Design...

posted @ Thursday, January 29, 2009 4:34 PM | Feedback (5)

XBAP: the neglected!

This post comes after an internal discussion we had today... in summary, we've a project in progress (client-server application) where the client side is a complex WPF application. Now there's a requirement about having the client functionalities available also via browser on the intranet. What solution to propose? The "survey"'s results are these: ASP.NET (Silverlight) application: 95% XBAP: 5% Unfortunately I see that many .NET developers doesn't know what XBAPs are or, if they know, they completely neglect them. Do you know that there's also this project type on Visual Studio 2008? XBAP (or XAML Browser Application)...

posted @ Thursday, January 29, 2009 11:56 AM | Feedback (4)

Windows Workflow 4.0

In an interesting post, Cliff Simpkins (senior product manager in the .NET product marketing group for Windows Workflow Foundation) has shared other news about the future Workflow platform. I think that everyone of us that is involved on developing large .NET applications that makes use of Windows Workflow for certain business process, are a bit worried about the future direction of this platform. The common question is: if I write a .NET application that uses WF 3.5 now, should I rewrite it the next year or when WF 4.0 will be released? In this post Cliff explains the key concepts:...

posted @ Friday, January 23, 2009 3:59 PM | Feedback (5)

Application Architecture and Design: a useful set of checklists

One of the greatest work that the Microsoft community is sharing on Codeplex is certainly the Application Architecture Guide project. This is really a big project rich of useful informations. One of the greatest news recently addes are the Application Architecture checklists. I found it very helpful when you've to architect a new .NET application or you've to re-engineering an existing one. Having these checklists printed on paper helps a lot on making the right choices. If you're interested, these are the links: Application Architecture Checklists Architecture and Design Checklist Communication Guidelines Checklist Layer Checklists Presentation Layer...

posted @ Monday, November 17, 2008 4:44 PM | Feedback (1)

.NET 4.0 Poster

Brad Abrams has published a cool .NET Framework 4.0 poster: We created a very cool poster that shows off the new stuff in .NET Framework 3.5 SP1 and .NET Framework 4.    Thanks to Kit George for running this effort to get a very cool view of .NET Framework 4 and for the great folks at Addison Wesley for helping with the creative end and the printing costs! And of course, here is the DeepZoom version! (use your mouse wheel or click and control-click to zoom in and out) Download the .NET Framework 4 Poster PDF...

posted @ Tuesday, November 04, 2008 9:09 AM | Feedback (3)

C# 4.0 and the new "dynamic" keyword

I was searching a bit the new C# 4.0 features revealed in these days and the main thing that gives me a little of surprise and doubts is the new dynamic keyword. This new keyword allows you to declare an object whose method calls will be resolved at runtime. This is extremely different from the normal C# behaviour (static typing): actually when you call a method or a property of an object, the compiler checks if it exists and, if not, it raises a runtime error. With dynamic typing, you can write something like this: dynamic MyInt = 1; dynamic...

posted @ Friday, October 31, 2008 10:03 PM | Feedback (8)

First news about WF 4.0

If you're interested on Windows Workflow and its future, I recommend to watch the Kenny Wolf 's section from PDC. I can summarize it in a word: revolution!! The actual Workflow Framework and runtime seems to be totally revisited and the news are summarized as follows: Activity Authoring is simpler and takes much less code Fully declarative workflows and activities Alignment across Expressions, Rules, and Activities Seamless Composition Across Flow Styles Runtime 10-100X Performance Improvements Full control over persistence Flow-in Transactions Partial Trust Support Integrates with WCF, WPF, ASP.NET Tools Designer Performance and Usability...

posted @ Thursday, October 30, 2008 3:05 PM | Feedback (0)

LINQ to SQL and its future...

I was reading a post on the ADO.NET Team blog about "Update on LINQ to SQL and LINQ to Entities Roadmap" and an interesting piece of this little post says: We’re making significant investments in the Entity Framework such that as of .NET 4.0 the Entity Framework will be our recommended data access solution for LINQ to relational scenarios.  We are listening to customers regarding LINQ to SQL and will continue to evolve the product based on feedback we receive from the community as well. Despite the ADO.NET Team says that LINQ to SQL will be enhanced again in...

posted @ Thursday, October 30, 2008 9:50 AM | Feedback (0)

How to create and Publish your first Windows Azure application

The recently previewed Windows Azure platform is extremely interesting and in the near future I think that lots of the actual businesses will be "cloud oriented". But how to write an Azure application? This is an HowTo directly from Olav Tollefsen and cross posted here for don't loosing the content: Signup for a Windows Azure account First you need to signup for a Windows Azure account and get an invitation code to setup the server. Visit http://www.azure.com for that. Setup the development environment Download and install the following from http://www.microsoft.com/azure/sdk.mspx Windows Azure SDK Windows Azure Tools for Microsoft Visual Studio...

posted @ Thursday, October 30, 2008 9:15 AM | Feedback (4)

Windows Azure: Cloud Computing is here...

The most interesting news that comes fro the PDC is certainlty the announce of the Windows Azure platform.  Azure will be the start of a new era for the Microsoft's applicatons world. It will be a complete "cloud computing" platform available directly from the Internet. It will permit you to have a distributed infrastructure where you can host applications and (really interesting...) it will be completely integrated with the Visual Studio tools (it will be available a specific SDK for building applications for Azure). The Azure platform embraces different services and technologies: and, directly over the operating system...

posted @ Tuesday, October 28, 2008 9:33 AM | Feedback (0)

.NET Logo: welcome!

Scott Barnes has give us the new preview: We needed a logo that was in sync with the key values that we want .NET to stand for: consistency, robustness and great user experiences. We also wanted a logo that conformed to the design principles that are driving Microsoft’s brand identity evolution and is reflected in newer brands such as Silverlight, Surface and ‘Strata.’  Finally, we needed a logo that is more strongly aligned with the portfolio of brands that .NET is most strongly aligned with: Silverlight, Visual Studio and the AppPlat server products. The result is...

posted @ Saturday, October 25, 2008 9:30 AM | Feedback (0)

Extending Dynamics NAV with Windows Workflow

Frequently I'm involved on speaking where we present products like Dynamics NAV, Dynamics CRM, Sharepoint and all the new .NET 3.5 platform in general. One of the common aspects that I like to put in evidence is that all these products (except NAV) supports natively one of the coolest aspects of the new .NET platform: Windows Workflow (it's not a mistery that I'm a Windows Workflow lover and I like to show that with Windows Workflow you can build modular business processes). One of the common question that often I receive is: can we extend Dynamics NAV with Windows...

posted @ Saturday, October 18, 2008 11:02 PM | Feedback (1)

An interesting XAML Power Toys

I like WPF a lot but I don't like to work manually with XAML too much (maybe because it seems to me that I'm writing an HTML page instead of a Windows application? ). I hope that the WPF Designer inside Visual Studio will be improved always more, but fortunately for the moment there are out some interesting Power Toys that can help your work with WPF to be more "friendly". One of this is the XAML Powertoys, a set of tools with the primary goal of enabling developers to quickly layout and maintain Line of Business Application forms...

posted @ Thursday, October 09, 2008 9:18 AM | Feedback (0)

Visual Studio 2010 and .NET 4.0 first news...

Visual Studio 2008 SP1 and .NET Framework 3.5 SP1 are so new, lots of new interesting features for developers were available after their launch and... Microsoft today has unveiled something about Visual Studio 2010 and .NET 4.0. Surprised? Obviously, we'll see more and more about VS 2010 and .NET 4.0 in the next months, but what seems to be clear after the first news is that VS 2010 will be more centered around the Application Lifecycle Management. Also Somasegar explains the future key concepts: We will embrace the needs of all the users in the lifecycle – from...

posted @ Monday, September 29, 2008 7:54 PM | Feedback (0)

WPF or Windows Form?

We're planning to develop a new custom client LOB application and, by making the analysis document, there's the crucial dilemma: should I choose Windows Form (where all my team is great) or should I choose the new Windows Presentation Foundation? When I've submitted this question, I've received also responses like "Windows Form are dead... we've to move to WPF!". I think that our final choice will be to choose WPF for this project (maye with the interesting Composite Application Guidance for WPF Framework), but absolutely I can't agree to say that "Windows Form is a dead technology". Windows Form is...

posted @ Thursday, September 25, 2008 6:01 PM | Feedback (9)

Exposing Windows Workflow as an XML Web Service: what about persistence?

In these days I was involved on the migration of lots of my services under the new .NET 3.5 platform (WCF and WF). Today I've tryed to expose a Windows Workflow as an XML Web Service and now I've a dilemma... :) OK... let's go from the beginning... With Windows Workflow is quite simple to expose a WF as an XML Web Service. Start Visual Studio 2008, New Project and choose Sequential Workflow Library: Then, exactly like WCF, you need to define an interface that will act as the interface to the workflow (I've used VB.NET in my project): Interface IWS         Function MyMethod(ByVal Input...

posted @ Wednesday, September 17, 2008 5:48 PM | Feedback (0)

WCF or XML Web Service?

In the past we've made lots of services that permits the interoperability between different applications and different clients, and all of them was based on .NET XML Web Services. Now that Windows Communication Foundation is out, I'm involved on a migration of some of these services to this new platform and I'm observing that there's not always a clear idea on what WCF is and what this platform can do. The classic questions I receive are mainly two: if you move your service to WCF, will my application be able to communicate with the service as before? ...

posted @ Wednesday, September 17, 2008 10:24 AM | Feedback (8)

ASP.NET Dynamic Data: marvellous!!

Today I've played for the first time with a new features that comes with the .NET Framework 3.5 SP1, the new ASP.NET Dynamic Data support. My comments about this now? Marvellous!! :) The new ASP.NET Dynamics Data is a feature that (in summary) permits you to quickly build data-driven websites (based on LINQ to SQL or LINQ to Entities) without writing any lines of code. In few minutes you can have a complete data-driven site ready to be extended and customized. How to do this? Here's a quick sample: If you have installed .NET 3.5 SP1 and with Visual Studio...

posted @ Saturday, September 06, 2008 3:25 PM | Feedback (7)

Finally WPF has its own Datagrid!

With the release of .NET Framework 3.5 SP1 & Visual Studio 2008 SP1 there's a silent present from Microsoft: the first release (CTP) of the WPF Datagrid. In the past I've blogged few times about this request: WPF is a step to the future for the UI world, but the grid is (in my opinion) the better way to show certain types of informations. The new WPF Datagrid (the official one ) seems really interesting and here you can have more details (Jaime Rodriquez has a EXCELLENT 3 part series on how to customize the DataGrid (Part 1, Part...

posted @ Monday, August 18, 2008 6:55 PM | Feedback (0)

Visual Studio 2008 SP1 and .NET Framework 3.5 SP1 enhancements

As usual, the Visual Studio SPx and .NET Framework SPx are not only "Service Packs" for bug fixes, but they contains lots of new features and improvements to the entire platform. What is interesting to know: The .NET Framework 3.5 SP1 delivers: Performance increases between 20-45% for WPF-based applications – without having to change any code WCF improvements that give developers more control over the way they access data and services. Streamlined installation experience for client applications Improvements in the area of data platform, such as the ADO.NET Entity Framework, ADO.NET Data Services  and...

posted @ Thursday, August 14, 2008 2:54 PM | Feedback (0)

Composite Application Guidance for WPF

Designing flexible and composite applications was a must with Windows Forms and it's a must also for the latest WPF technology. With the clear target to help developers to build composite enterprise applications, Microsoft has published the Composite Application Guidance for WPF. It's a must to check if you're involved on WPF development... Technorati Tag: .NET,WPF

posted @ Monday, July 07, 2008 9:04 AM | Feedback (0)

Client-only Framework Subset: finally!

The great news for who is mainly a windows client developer (like the author of this blog ;) ) is that with the .NET Framework 3.5 SP1 (actually in Beta 1 stage) will be released the .NET Framework 3.5 SP1 Client Profile, a subset of the .NET 3.5 library only for the client applications. The new light "client .NET package" (about 26 Mb) will include these components: CLR WinForms ClickOnce WPF e WCF and it will have a direct support inside Visual Studio 2008: This helps to have a light installer when...

posted @ Thursday, May 15, 2008 12:37 PM | Feedback (8)

Cool Silverlight Healthcare demonstrator

If you work on the Healthcare field (this is a big part of our business) I think that your mind will do a great jump to the future when you'll see the just released Microsoft Health Common User Interface (MSCUI) Patient Journey Demonstrator,a great live sample on how you can implement cool UI for the Healthcare applications. The interesting news is that demo scenario is a part of a project called Microsoft Health Common User Interface (CUI) that claims to build a common User Interface Design Guidance  for the next generation Healthcare applications (actually are available the Design...

posted @ Thursday, May 08, 2008 2:47 PM | Feedback (1)

Next Generation UI: the love for the grids...

On his new web diary, Silvano Coriani has published an interesting message: in a new software era where the user interface is growing as importance, why the old GRID is always so requested? I agree that with the latest technologies like Windows Presentation Foundation the UI must be revisited and the we've to be ready for a new way to obtain informations from a  software and to interact with data, but a new visual experience is not all for a software. A software, expecially in the business world, must be productive! The grid could be an old concept (at least...

posted @ Sunday, May 04, 2008 2:40 PM | Feedback (1)

Windows Workflow Designer Rehosting: what we need...

Some weeks ago I was invited to leave feedbacks on a survey published by Microsoft about the next version of the Workflow Designer. One of the coolest feature about the actual WF Designer is that you can rehost it inside any custom application (for example a Winform application) and you can enable your end users to edit processes or simply to to visualize and monitor the workflow state. For my little experience I've done in these months on trying to rehost the WF Designer, I can say that it's not so easy as someone could imagine. However, despite the difficulties...

posted @ Wednesday, March 26, 2008 3:19 PM | Feedback (1)

Windows Mobile Line of Business Solution Accelerator 2008

I love when Microsoft releases samples of complete applications that works with the latest technologies: they are really an important way to understand the architectural concepts and an unvaluable guide for developers. The latest release is the Windows Mobile Line of Business Solution Accelerator, a Smart Client built using .NET and SQL Server Compact edition that shows an interesting use of .NET Compact Framework, LINQ, Dynamic SQL, Web Services, WCF, Sync Framework. Absolutely to check... Technorati Tag: .NET,Mobile,LINQ,WCF

posted @ Saturday, March 15, 2008 1:55 PM | Feedback (1)

Microsoft Silverlight 2.0 will debut on 2008 Olympics

A nice surprise comes today from Somasegar's blog: "We have signed an agreement to partner with NBC Universal to build a Silverlight 2.0 based web broadcast of the 2008 Summer Olympic games.  This agreement also sets MSN as the official home of the 2008 Summer Olympics.  As a part of this, we will provide users with exclusive access to over 3000 hours of live and on-demand video content via Silverlight streaming." This will be the first big release of a Silverlight 2.0 content I think and we could see the real power of this new technology (Silverlight 2.0...

posted @ Monday, January 07, 2008 5:49 PM | Feedback (0)

Visual Studio 2008 and XML

Visual Studio 2008 adds lots of new functions for working with XML files and one of the feature that I love is absolutely the new XML Literal support. If you're together a VB.NET and a C# developer and you've worked with XML manipulation, you've discovered that VB.NET permits you to do something cool things like this: You can immediately paste an XML document inside your code, without to be forced to use structures like XElement, XAttribute in order to declare an XML. The power of VB! C# doesn't have this feature, but today by reading Lorenzo Barbieri's...

posted @ Thursday, December 27, 2007 10:11 PM | Feedback (0)

Do you want to learn and test LINQ?

One of the hottest feature that comes with Visual Studio 2008 and the .NET Framework 3.5 is certainly LINQ, the new .NET component that adds native data querying capabilities to the .NET language, by using a SQL-like sintax. LINQ has threemain providers: LINQ to Objects: the LINQ to Objects provider is used for querying in-memory collections, using the local query execution engine of LINQ. The code generated by this provider refer the implementations of the standard query operators as defined in the Sequence class and allows IQueryable<T> collections to be queried locally. LINQ to Objects is not dynamic. Once...

posted @ Saturday, December 22, 2007 9:18 PM | Feedback (3)

A nice Geocoding sample

Displaying a list of customers on a map in order to track the best road to reach them is always a great application to show on some demo scenarios. Daniel Walzenbach has make a great work by publishing a complete sample application that permits you to use Virtual Earth services in order to transform a list of addresses into latitude/longitude values and display them on a map. Give it a view... Technorati Tag: .NET,ASP.NET

posted @ Sunday, December 16, 2007 2:10 PM | Feedback (0)

.NET Framework: the future is open source

The last post ScottGu's Blog is something that can sign a new era on the Microsoft's development world: Scott has announced that Microsoft, with the upcoming Visual Studio 2008, will release the .NET Framework 3.5 as a open source code. It will be possible to download and browse through the entire .NET code and step into the .NET Framework while debugging with Visual Studio. Have you ever asked yourself how Microsoft has implemented a certain method or class? Now you can give you an answer... Technorati Tag: .NET

posted @ Wednesday, October 03, 2007 10:02 PM | Feedback (0)

Multitargeting feature in Visual Studio 2008: Redmond, can you change a little thing?

One of the coolest feature of the future Visual Studio 2008 (actually in Beta 2) is in my opinion the support for multitargeting: it supports the ability to target multiple versions of the .NET Framework, including using the new language features and also taking advantage of all project templates out of the box (finally!!). This new feature helps a lot a developer that has the needs to support projects with different version of the .NET Framework (this is my case...), because finally you can use a single tool to manage everything. Wonderful! Unfortunately I'm not the one that has...

posted @ Friday, August 24, 2007 2:25 PM | Feedback (2)

WPF Applications with Visual Studio 2008

In these days of holidays (before starting for my real holiday at the sea) I've spent some of my free time to improve my knowledge about Windows Presentation Foundation. I've to admit that WPF has never attracted me too much (my first impression was that it's too designer-oriented) but this is the future of windows client development so... I'm forced to well undertand it for the near future. From my first WPF view (during the alpha versions of VS 2008) I've to admit that the last Visual Studio 2008 Beta 2 has lots of improvement around WPF development. Cider (the...

posted @ Monday, August 20, 2007 3:02 PM | Feedback (3)

WPF Hands-on-Lab: Build an Outlook 2007 UI Clone

Absolutely one of the coolest examples about WPF: Tim Sneath has signalled that two engineers from Microsoft Switzerland, Ronnie Saurenmann and Ruihua Jin, have put together this 90-page lab that starts at File / New Project and ends with a facsimile of the Outlook 2007 user interface. You can find the lab manual here; the source project you'll need to complete the lab can be found here. Lots of thanks to Tim for the tips and to the two guys for the wonderful (and well done) work. It's the first WPF application with sources available that targets the Winform world...

posted @ Wednesday, June 13, 2007 5:59 PM | Feedback (9)

"Hello World" from Acropolis

I've written some days ago that I was fascinating by the first CTP of Acropolis, the new set of tools borned with the idea to help developers to make modular applications. Acropolis helps the developer life a lot, but obviously (as every new technology that appears on the horizon) must be well understood (expecially the interaction betweent the parts). Ezequiel Jadib has make an interesting post about how to write a simple "Hello World" application with Acropolis. "Hello World" application is always the first step when learning a language, so check the post and start to be in love with...

posted @ Saturday, June 09, 2007 2:05 PM | Feedback (0)

T-SQL vs SQL CLR on loops

Looping between a big number of records is a CPU-intensive operation that can have a significant impact on your database performance. I've talked in the past that with SQL Server 2005 you can use SQL CLR (.NET) for improve your performances on CPU-intensive operations, such as looping, iterations, calculations etc. But is it always true that for these types of operations SQL CLR is the best choice? I've tryed a curious test by writing a simple T-SQL stored procedure that makes a big loop and the same I've done via a SQL CLR stored procedure. The T-SQL code is this:...

posted @ Saturday, February 24, 2007 11:58 AM | Feedback (8)