.mark.net il blog di Marco Trova

il blog di Marco Trova

Archive for the ‘.NET’ Category

Giornata di aggiornamenti: Visual Studio 2008 SP1 & C.

  • Tuesday Aug 12,2008 05:35 AM
  • By admin
  • In .NET, Tools
.NET Framework 3.5 SP1 Language Pack Microsoft .NET Framework 3.5 SP1 Language Pack contain translated text, such as error messages, for each language. .NET Framework 3.5 Client Profile The Microsoft .NET Framework 3.5 Client Profile contains the .NET Framework assemblies needed for the installation and distribution of .NET Framework client applications. Silverlight Tools Beta 2 Add-on for Visual Studio 2008 for developing applications for Silverlight 2 Beta 2 Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0 Runtime) (x86) This download (VSTOR30.exe) installs the Visual Studio Tools for the Office system 3.0 Runtime, which is required to run VSTO solutions for the 2007 Microsoft Office system built using Microsoft Visual Studio 2008. Windows SDK for Windows Server 2008 Rc Update Updated Resource Compiler for Windows Server 2008 SDK. .NET Framework 3.5 Service pack 1 Microsoft .NET Framework 3.5 Service Pack 1 is a full cumulative update that contains many new features building incrementally upon .NET Framework 2.0, 3.0, 3.5, and includes cumulative servicing updates to the .NET Framework 2.0 and .NET Framework 3.0 subcomponents. VS 2008 Service Pack Preparation Tool The tool is intended to prepare systems that may have previously been updated with SP1 pre-releases. Microsoft Visual Studio Tools for the Microsoft Office System (Version 3.0 Runtime) Language Pack The Microsoft Visual Studio Tools for the Microsoft Office System (Version 3.0 Runtime) language pack contains the text of runtime user interface elements, such as error messages, for languages other than English. Microsoft Visual Studio Tools for the Microsoft Office System (Version 3.0 Runtime) SP1 Language Pack The Microsoft Visual Studio Tools for the Microsoft Office System (Version 3.0 Runtime) SP1 language pack contains the text of runtime user interface elements, such as error messages, for languages other than English. Visual C++ 2008 SP1 Sample Library Microsoft Visual C++ provides code samples for applications and tools that use many of the technologies in Visual C++. .NET Framework 3.5 Client Profile Language Pack The Microsoft .NET Framework 3.5 Client Profile Language Pack contains translated text, such as error messages, for each language. Microsoft Report Viewer Redistributable 2008 SP1 Language Pack The Microsoft Report Viewer Redistributable 2008 SP1 Language Pack includes Windows Forms and ASP.NET Web server controls for viewing reports designed using Microsoft reporting technology. Visual Studio 2008 Shell (isolated mode) with Service Pack 1 Redistributable The Visual Studio 2008 Shell (isolated mode) redistributable SP1 contains the runtime binaries needed to deploy your Visual Studio 2008 Shell (isolated mode) based application. Visual Studio 2008 Service Pack 1 This download installs Visual Studio 2008 Service Pack 1 (SP1). Visual Studio 2008 Express Editions with SP1 The Microsoft Visual Studio 2008 Express Editions with SP1 are a free set of tools that are simple, fun and easy to learn. Continuing the Microsoft tradition of enabling developers of all skill levels, this latest release enables hobbyists, students, experienced and casual developers alike to create cool, fun applications. Visual Studio 2008 Service Pack 1 This download installs Visual Studio 2008 Service Pack 1 (SP1). Visual Studio 2008 Service Pack 1 Remote Debugger This is the full remote debugger installation for Visual Studio 2008 Service Pack 1. This is not an upgrade patch. Visual Studio 2008 Express Editions with SP1 The Microsoft Visual Studio 2008 Express Editions with SP1 are a free set of tools that are simple, fun and easy to learn. Continuing the Microsoft tradition of enabling developers of all skill levels, this latest release enables hobbyists, students, experienced and casual developers alike to create cool, fun applications. Visual Studio 2008 Service Pack 1 Stand-Alone Profiler This is the full Stand-Alone Profiler installation for Visual Studio 2008 Service Pack 1. This is not an upgrade patch. Visual Studio 2008 Team Foundation Server SP1 This Service Pack contains bug fixes and new features that address feedback from customers and provide support for recent operating system and database releases. This service pack applies to Team Foundation Server 2008, Team Foundation 2008 Proxy, and Team Foundation Server 2008 Build. Visual C++ 2008 SP1 Redistributable Package (ia64) The Microsoft Visual C++ 2008 SP1 Redistributable Package (IA64) installs runtime components of Visual C++ Libraries required to run 64-bit applications developed with Visual C++ SP1 on a computer that does not have Visual C++ 2008 SP1 installed. Visual C++ 2008 SP1 Redistributable Package (x86) The Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ SP1 on a computer that does not have Visual C++ 2008 SP1 installed. Visual C++ 2008 SP1 Redistributable Package (x64) The Microsoft Visual C++ 2008 SP1 Redistributable Package (x64) installs runtime components of Visual C++ Libraries required to run 64-bit applications developed with Visual C++ SP1 on a computer that does not have Visual C++ 2008 SP1 installed. eScrum for Microsoft Visual Studio Team System eScrum is a Web-based, end-to-end project management tool for Scrum built on the Microsoft Visual Studio Team Foundation Server platform. This software is released “as is”. Microsoft does not provide support services for it.

Microsoft SQL Server Compact 3.5 and Microsoft Synchronization Services for ADO.Net v1.0 for Windows Desktop
http://www.microsoft.com/downloads/details.aspx?FamilyID=7849b34f-67ab-481f-a5a5-4990597b0297&displaylang=en

Microsoft SQL Server Compact 3.5 Server Tools
http://www.microsoft.com/downloads/details.aspx?familyid=B18327F3-96E1-415D-B037-9E0C46D49956&displaylang=en

Register for SQL Server Compact 3.5 Redistribution Rights
The Microsoft SQL Server Compact 3.5 is freely redistributable under a redistribution license agreement that requires registration.

Accepting the terms of the SQL Server Compact 3.5 EULA and want to register for redistribution rights.
http://www.microsoft.com/sql/editions/compact/redistribute.mspx

ReportViewer Samples for Microsoft Visual Studio 2008
This release provides developer sample applications in Microsoft Visual Basic and Microsoft Visual C# that use the ReportViewer controls for Microsoft Visual Studio 2008.
http://www.microsoft.com/downloads/details.aspx?familyid=8AF004BD-EE06-43FA-A5B6-955689A66C84&displaylang=en

Microsoft Report Viewer Redistributable 2008
The Microsoft Report Viewer 2008 Redistributable Package includes Windows Forms and ASP.NET Web server controls for viewing reports designed using Microsoft reporting technology.
http://www.microsoft.com/downloads/details.aspx?familyid=CC96C246-61E5-4D9E-BB5F-416D75A1B9EF&displaylang=en

An Overview of Microsoft Visual Studio 2008 White Paper
http://www.microsoft.com/downloads/details.aspx?familyid=17319EB4-299C-43B8-A360-A1C2BD6A421B&displaylang=en

Introducing Microsoft Sync Framework: Sync Services for File Systems
http://msdn2.microsoft.com/it-it/sync/bb887623(en-us).aspx

*  VS2008 Training Kit: Lap around Visual Studio 2008 & .NET Framework 3.5
http://channel9.msdn.com/ShowPost.aspx?PostID=357679

* VS2008 Training Kit: .NET Framework 3.5 Enhancements
http://channel9.msdn.com/Showpost.aspx?postid=357691

* VS2008 Training Kit: What’s new in Visual Basic 9.0?
http://channel9.msdn.com/Showpost.aspx?postid=357687

* VS2008 Training Kit: What’s new in C# 3.0?
http://channel9.msdn.com/Showpost.aspx?postid=357685

* VS2008 Training Kit: Using LINQ with Relational Data
http://channel9.msdn.com/Showpost.aspx?postid=357689

* VS2008 Training Kit: ADO Synchornization Services
http://channel9.msdn.com/Showpost.aspx?postid=357693

Sync Services for ADO.NET RTM

  • Sunday Dec 2,2007 08:45 AM
  • By
  • In .NET, Tools

Con l’uscita di Visual Studio 2008 RTM sono state rilasciate anche le RTM di SQL Compact 3.5 ed il sync designer. Ma se sviluppate ancora in visual studio 2005 o volete usare il nuovo e gratuito Visual Studio 2008 Express Edition:

SQL Compact 3.5 along with Sync Services for ADO.NET v1 are available for download as a standalone package.

Microsoft SQL Server Compact 3.5 RTM for Windows Desktop
Microsoft SQL Server Compact 3.5 Books Online and Samples
Microsoft Synchronization Services for ADO.NET Books Online

Da tener d’occhio:

SyncGuru e SyncGuru Projects

Articolo Codeproject: Take Data Offline Using Microsoft Synchronization Services for ADO.NET

Building online/offline synchronization capabilities with the Microsoft Sync Framework
http://blogs.msdn.com/publicsector/archive/2007/11/14/building-online-offline-synchronization-capabilities-with-the-microsoft-sync-framework.aspx

Dogfooding: dallo stesso team di Sync Framework SyncToy 2.0 beta con molte novità.

sync guru web site!
Here you will find a lot of information about synchronization and replication technologies.
http://www.syncguru.com/

sync newsgroup
http://forums.microsoft.com/sync/showforum.aspx?forumid=1913&siteid=75

Microsoft Sync Framework, Part 2: Sync Metadata
http://blogs.msdn.com/andreimaksimenka/archive/2007/11/05/microsoft-sync-framework-part-1-introduction.aspx
http://blogs.msdn.com/andreimaksimenka/archive/2007/11/09/microsoft-sync-framework-part-2-sync-metadata.aspx
http://blogs.msdn.com/andreimaksimenka/archive/2007/11/18/microsoft-sync-framework-part-3-sync-knowledge.aspx

Introducing the Microsoft Sync Framework: Next Generation Synchronization Framework
http://www.code-magazine.com/Article.aspx?quickid=990712102

Occasionally Connected Systems Offline Data Synchronization and Caching with SQL Server Everywhere Edition
http://windowsclient.net/wf/blogs//Stevelas/Presentations/OCSSyncOverview.ppt

Presentations & Demos from Tech Ed Barcelona 07 about:
- Implementing Microsoft SQL Server Express Edition
- Optimizing Online, Enabling Offline with SQL Server Compact and Sync Services for ADO.NET
- Microsoft SQL Server 2005 Compact Edition in Action
http://blogs.msdn.com/stevelasker/archive/2007/11/07/presentations-demos-from-tech-ed-barcelona-07.aspx

Windows Media and Silverlight
http://blogs.msdn.com/harrymower/archive/2007/11/11/windows-media-and-silverlight.aspx
Introducing the .NET Framework 3.5 by David Chappell
http://download.microsoft.com/download/f/3/2/f32ff4c6-174f-4a2f-a58f-ed28437d7b1e/Introducing_NET_Framework_35_v1.doc
This paper drills into each of the new features added in the .NET Framework in versions 3.0 and 3.5. It discusses ASP.NET AJAX, LINQ, WCF, WF, WPF and CardSpace.

Introducing Windows Communication Foundation by David Chappell
http://download.microsoft.com/download/f/3/2/f32ff4c6-174f-4a2f-a58f-ed28437d7b1e/Introducing_WCF_in_NET_Framework_35_v1.doc
This paper provides a high level overview of the Windows Communication Foundation technology. It describes the problem in communications that WCF addresses. It goes on to describe the implementation of a WCF service and a WCF client and also introduces other aspects of WCF such as security, transactions, rest, syndication and extensibility.

Introducing Windows Workflow Foundation by David Chappell
http://download.microsoft.com/download/f/3/2/f32ff4c6-174f-4a2f-a58f-ed28437d7b1e/Introducing_WF_in_NET_Framework_35_v1.doc
This paper provides a high level overview of the Windows Workflow Foundation technology. It describes the problems in building applications that WF solves. If gives an overview of the components of Windows Workflow Foundation including sequential workflows, state machine workflows, creating and modifying workflows, creating activities, using rules, hosting the workflow runtime, tracking and modifying running workflows. It also provides a good comparison between this new technology and other existing process related Microsoft technologies.

Dealing with Diversity: Understanding WCF Communication Options in the .NET Framework 3.5
http://download.microsoft.com/download/f/3/2/f32ff4c6-174f-4a2f-a58f-ed28437d7b1e/WCF_Diversity_Paper_v1.doc
This paper discusses the merits of considering SOAP and REST and alternative communication protocols between client and server. It describes how WCF supports these and many other communication styles with a single API through the simple ABC’s (Address, Binding and Contract) of communications.

Offline Data Synchronization Services in Visual Studio 2008
http://channel9vip.orcsweb.com/Showpost.aspx?postid=347021

Adding Closed Captioning to video using Silverlight, ASP.NET AJAX, WCF and an external data source
http://channel9vip.orcsweb.com/Showpost.aspx?postid=352814
http://channel9vip.orcsweb.com/ShowPost.aspx?PostID=330598

Server Communications with Silverlight and AJAX – Fritz Onion – 4 part
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348147
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348149
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348152
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348156

Introduction to Silverlight – Seema Ramchandani
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348117
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348126
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348133
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348141

Exploring the Possibilities of Silverlight – Adam Kinney – 2 Part
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348060
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348075

Silverlight 1.1 – Jeff Prosise
http://channel9vip.orcsweb.com/Showpost.aspx?postid=346823
http://channel9vip.orcsweb.com/Showpost.aspx?postid=346826
http://channel9vip.orcsweb.com/Showpost.aspx?postid=346830

Silverlight: Implementing User Controls in 1.1
http://channel9vip.orcsweb.com/Showpost.aspx?postid=335728
in Silverlight 1.0: http://timheuer.com/blog/archive/2007/08/19/implement-user-control-in-silverlight-user-controls.aspx

Creating a Workflow Service in Approximately 60 Seconds
Got VS 2008 Beta 2? In this screencast, we walk through the new project templates to rapidly create a WCF service that is implemented in WF using the Send and Receive activities in .NET 3.5. This is one of the biggest asks we have had from customers, and in this short 3 minutes of your life, you will see how to create them, and see how the tools can make your life easier.
http://channel9vip.orcsweb.com/Showpost.aspx?postid=330489

WF and WCF integration in .NET 3.5
The technical evangelist for Windows Workflow Foundation, Matt Winkler, took some time to interview the team that worked to create the Workflow Services functionality inside of .NET 3.5. Workflow Service allow a developer to implement a WCF service as a WF workflow, and to expose a WF workflow via a WCF service.
http://channel9vip.orcsweb.com/ShowPost.aspx?PostID=335756

Cheating at Creating a Media Player for Silverlight
Want to create a media experience for Silverlight but don’t want to write all the logic code? This podcast walks you through steps to use output templates from Expression Media Encoder and alter the XAML to your liking and needs.
http://channel9vip.orcsweb.com/Showpost.aspx?postid=338690

Introduction to Workflow Services (building WCF Services with WF)

One of my favorite features in .NET 3.5 is the integration work that has been done between WF (Windows Workflow Foundation) and WCF (Windows Communication Foundation). Check out a c9 video with that team here. This short screencasts walks through how to consume a WCF service from a workflow, as well as implementing a service as a workflow.
This is a recording of the “first demo” I do in any of my presentations introducing this topic, and as such, it involves starting with a blank solution and building all the pieces we need.
http://channel9vip.orcsweb.com/Showpost.aspx?postid=338720

Interacting with Web Services and Building Mashup Style Applications in Silverlight 1.1 – 4 part
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348095
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348098
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348106
http://channel9vip.orcsweb.com/Showpost.aspx?postid=348111

geekSpeak – SQL Server Reporting Service with Ted Malone
http://channel9vip.orcsweb.com/Showpost.aspx?postid=347159

geekSpeak – Workflow with Mark Dunn
http://channel9vip.orcsweb.com/Showpost.aspx?postid=346834

logparser & web stats

  • Monday Sep 17,2007 03:56 PM
  • By
  • In .NET, Tools

Simple log parsing using MS Log Parser 2.2, in C#.NET
http://www.codeproject.com/csharp/SimpleLogParse.asp

LogParser DataProvider for ADO.NET
http://www.codeproject.com/useritems/LogParser_DataProvider.asp

Analyzing Denial of Service Attacks
http://www.microsoft.com/technet/technetmag/issues/2006/03/InsideMSCOM/default.aspx

IIS7 Logparser Gadget
http://blogs.iis.net/thomad/archive/2006/10/30/IIS7-Logparser-Gadget.aspx

How Log Parser 2.2 Works
http://www.microsoft.com/technet/community/columns/profwin/pw0505.mspx

IIS Data Mining with Log Parser 2.x
http://www.iis.net/default.aspx?tabid=2&subtabid=26&i=36

Log Parser: The coolest tool Microsoft has ever Released!
http://blogs.iis.net/chrisad/archive/2006/07/14/Chris.aspx

Log Parser Examples
http://www.microsoft.com/technet/scriptcenter/tools/logparser/lpexamples.mspx

Technet page on Log Parser 2.2
http://www.microsoft.com/technet/scriptcenter/tools/logparser/default.mspx

ex LogParser.com forums
http://forums.iis.net/default.aspx?GroupID=51

Enabling Logging (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/45ff5705-308d-4866-a611-b92bf448e1ae.mspx?mfr=true

Log Parser 2.2 and ASP.NET
http://support.microsoft.com/?id=910447

Parsing Windows Media Services 9 Log Files
http://blogs.msdn.com/cdiggins/archive/2006/04/27/585126.aspx

Windows Media Services FAQ
http://www.microsoft.com/windows/windowsmedia/forpros/server/faq.aspx

INFO: Supplemental Logging Information for Windows Media Services 9 Series
http://support.microsoft.com/?kbid=812635&product=wms

Logging Model for Windows Media Services 9 Series
http://www.microsoft.com/windows/windowsmedia/howto/articles/LoggingModel.aspx

Parsing Windows Media Services Log Files
http://msdn2.microsoft.com/en-us/library/bb383537.aspx

Windows Media Services SDK Creating Log Analysis Tools
http://msdn2.microsoft.com/en-us/library/ms741982.aspx

Microsoft Log Parser Toolkit
http://www.amazon.com/Microsoft-Parser-Toolkit-Gabriele-Giuseppini/dp/1932266526

Statistiche UrlReferer con Reporting Services e LogParser
http://blogs.dotnethell.it/coach/Statistiche-UrlReferer-con-Reporting-Services-e-LogParser__9876.aspx

Coding Horror: Microsoft LogParser
http://www.codinghorror.com/blog/archives/000369.html

Cuyahoga/NHibernate in medium trust support

  • Monday Mar 5,2007 09:43 AM
  • By
  • In .NET

I siti che state sviluppando funzionano perfettamente in locale e dopo un deploy danno eccezioni di sicurezza dopo il deploy?

Molti hoster stanno adottando le guidelines di Microsoft per l’hosting di applicazioni asp.net 2.0, portando il trust a livello di esecuzione a medium.

Il Medium trust è utile per eseguire più applicazioni in maniera isolata e, utilizzando il code access security, molte funzionalità del framework vanno abilitare esplicitamente nel .config creando specifici trust.

Nhibernate, alla base di Cuyhahoga, “soffre” di questo limite. Dalla versione 1.2 il problema è stato risolto. Il responsabile è log4net che “potenzialmente” scrive files di log su file system.

Riferimenti:

Medium Trust level support
http://jira.nhibernate.org/browse/NH-442

Hibernate Forums Index -> NHibernate Users Topic: Security exception when creating Configuration instance
http://forum.hibernate.org/viewtopic.php?t=951781

MSDN TV: Working with Medium Trust in ASP.NET
http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20050317aspnetss/manifest.xml

How To: Use Medium Trust in ASP.NET 2.0
http://msdn2.microsoft.com/en-us/library/ms998341.aspx

ASP.NET 2.0 Hosting Deployment Guide
http://www.microsoft.com/downloads/details.aspx?familyid=9e33ea25-666c-47fa-ac52-8d04785c4bd2&displaylang=en

Security Guidelines for ASP.NET 2.0.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGGuidelines0001.asp

ASP.NET 2.0, AllowPartiallyTrustedCallers ed il medium trust
http://blogs.aspitalia.com/daniele/post1667/ASP.NET-2.0-AllowPartiallyTrustedCallers-Medium-Trust.aspx

Rilasciato Cuyahoga 1.5.0

  • Wednesday Feb 14,2007 12:07 PM
  • By
  • In .NET

Cuyahoga è un framework open source scritto in C# per la creazione di siti web, basato su NHibernate.

Con la versione 1.5.0 finalmente c’è il supporto ufficiale a .net 2.0. 

E’ una versione intermedia che include il supporto al Castle IoC container per rendere cuyahoga estensibile e flessibile.

Io uso Cuyhaoga da un paio d’anni, perchè è semplice, efficente e completo (non ho bisogno di migliaia di moduli alla DNN, visto che devo svilupparli per i progetti smile_wink).

To (O/R) map or not to map

  • Thursday Mar 9,2006 08:45 PM
  • By
  • In .NET

Ultimamente sono diventato un fan degli Object Relational Mappers, in particolare di ORMapper di Paul Wilson e di NHibernate.

All’inizio ero scettico, titubante per paura di aggiungere complessità alle mie applicazioni (avete presente la Enterprise Library?); poi ho dato un consiglio “spassionato” ad un collega che mi ha trascinato con il suo entusiasmo.

Clemens Vasters, “Community Relations Program Manager for the Windows Communication Foundation at Microsoft Corporation”, ritorna sull’argomento riportanto anche buoni argomenti. I soliti di chi non scrive codice ;-) e quindi non ne ha capito i vantaggi.

Proper data management is the key to great architecture. Ignoring this and abstracting data access and data management away just to have a convenient programming model is … problematic.

[...]

Many of the proponents of O/R mapping that I run into (and that is a generalization and I am not trying to offend anyone – just an observation) are folks who don’t know SQL and RDBMS technology in any reasonable depth and/or often have no interest in doing so.

Sono felicissimo di non scrivere più codice SQL, confonderlo con il codice dell’applicazione (senza arrivare a scrivere la logica nelle store procedures, che avete capito?), cambiare continuamente focus da uno strumento all’altro, da un linguaggio all’altro. E’ anche più facile da trasmettere al team l’accesso ai dati: non devono più occuparsene.

I puristi come Clemens hanno ragione nel dire che si rischia di dimenticare il database (valore principale e forse scopo dell’applicazione) ma chi usa un O/R Mapper sa qual’è la fatica e la mole di codice da scrivere ogni volta per l’accesso al database.

Another argument I keep hearing is that O/R mapping yields a significant productivity boost. However, if that were the case and if using O/R mapping would shorten the average development cost in a departmental development project by – say – a quarter or more, O/R mapping would likely have taken over the world by now.

Sono diventato molto più produttivo. Ora ho solo collection con cui fare databinding, non converto più da un tipo all’altro e mi son scordato dei Datasets.

Certo ho impiegato un po’ di tempo per il setup dell’ambiente (configurazione e data mapping): ma alla lunga ne ho risparmiato di tempo e codice. Provate a contare le righe del vostro codice dedicate al binding con i vostri oggetti di business.. Ora li ho eliminati!

Una volta c’era l’OleDb con cui si poteva ragionevolmente adattare la propria applicazione ad un database diverso da quello per cui era stata sviluppata, a scapito delle prestazioni: forse per questo son nati i provider nativi. (ok, nel tempo anche l’Enterprise Library ha implementato un factory pattern per lo scopo).

Con il Wilson ORMapper ho cambiato al volo il database e la mia applicazione non ha fatto una piega (per la cronaca, da sql server a db2): non è certo la normalità, ma a volte risulta utile.

Prestazioni? Paul Wilson ha dimostrato in passato che per molte operazioni surclassa il caricamento di un Dataset e personalmente non ho mai dovuto ottimizzare l’accesso ai dati.

Solo per condividere le mie esperienze, non devo vendervi nulla! :-P

Se avete scritto un Data Access Layer che funziona benissimo, buon per voi! Ma guardatevi un O/R Mapper, magari open source. Sarà un’occasione per migliorare il vostro DAL o migliorare il vostro metodo di lavoro.

DirectShow .NET used in Mediaportal

  • Thursday Feb 23,2006 12:09 PM
  • By
  • In .NET

By: e.beckers – yamp
DirectShowlib used in Mediaportal
2006-01-22 22:52

Hi,
I’m the lead developer of mediaportal, which is an
opensource MediaCenter application
I just wanna thank the guys of directshowLib.
We have thrown away our own directshow wrapper
and have started using directshowlib in mediaportal for
- movie / music
- dvd playback
- tv viewing/recording/timeshifting
- vmr9.

Again thx!
Frodo

Mediaportal can be found at:
http://mediaportal.sourceforge.net

[DirectShow .NET Forum]

Ajax è sicuro?

  • Wednesday Feb 8,2006 02:31 PM
  • By
  • In .NET

Usare l’oggetto XMLHttpRequest per sottoporre informazioni al server crea sicuramente un altra strada da valutare dal punto di vista della sicurezza.

In Asp.net per esempio si esce dal modello del postback a cui ci siamo dovuti abituare.

In una intervista, Eric Pascarello (autore di “Ajax in Action”) disserta sui problemi ancora non risolti della vulnerabilità del javascript:

People say this is so horrible that someone can take over this request so easily. But these people need to realize that the XMLHttpRequest is nothing more than a normal form submission. You can picture it as a form being submitted in another frame. Act like there are form tags and hidden text fields on the page. With a view source of any normal HTML form, we can grab the element names and see the parameters being sent to the server. We can look at the action attribute and see where we are submitting the data. So just like how we can see the XMLHttpRequest object, we can see the same thing on any Web page.

Pascarello: Ajax does bring in a new threat to security that a developer may not realize

Pascarello’s Rules of Thumb for Ajax Security:

  1. If you use user authentication, make sure you check for it on the request page!
  2. Check for SQL injections.
  3. Check for JavaScript injections.
  4. Keep the business logic on the server!
  5. Don’t assume every request is real!
  6. Check the data with validation!
  7. Look at the request’s header information and make sure it is correct.

Se poi aggiungiamo che creare siti con Ajax creaiamo siti non accessibili..

RSS Feeds

Your Ads Here
Promote your products