View Complete Post
I use in my ASP.NET MVC application repository pattern and I use in controller for example 3 models:
public class HomepageController : Controller
private IWebsitesRepository _repository_websites = new WebsitesRepository();
private IFirmRepository _repository_firm = new FirmRepository();
private IPhotosRepository _repository_photos = new PhotosRepository();
In WebsiteRepozitory, FirmRepository and PhotosRepository classes I have:
Database1Entities _entities = new Database1Entities();
So I have 3 connections to database ? Is it wrong ? How can I solve it ?
Beyond progress bars: talking to server-side apps with ASP.NET AJAX.
MSDN Magazine July 2007
In this article, Paul Ballard shows how you can provide data binding support for your custom collections to enable sorting, searching, and editing in as simple a manner as possible. In addition, he shows how to make all of these features available in the Windows and Web Forms Designers, just like an ADO.NET DataSet.
MSDN Magazine August 2005
By now, you're certainly collecting a variety of data from your Web site. But once you collect it, what do you do with it. For it to be meaningful, this data must be categorized and analyzed. The SQL Server 2005 data mining functionalities can help you get the most out of those reams of data you collect, as Peter Pyungchul Kim explains.
Peter Pyungchul Kim
MSDN Magazine June 2005
Pattern recognition is an increasingly complex field. Every day technologies like handwriting recognition, spam filters, and search engines must identify ever more complicated patterns. One way these complex relationships can be represented is through the use of neural networks. Find out what neural networks can do for your pattern recognition and prediction tasks.
Christopher M. Frenz
MSDN Magazine May 2005
Web services use XML to communicate with each other. But sometimes the XML your service emits is not the same XML that another service is expecting. If you want to avoid the problems that this kind of situation can cause, you need to get good control over your XML serialization. Here author Chris Dix shows you exactly how to tackle this problem.
MSDN Magazine March 2005
As more organizations adopt XML-based Web Services, the need for message-level security has become evident. WS-Security, now supported in the Microsoft .NET Framework, addresses this need. Using the WS-Security framework, developers can implement channel sinks to intercept Remoting messages as they pass through the .NET Remoting infrastructure. The sink can read the message, change it, and pass it along. During this process, the message can be signed for added security. This article explains how to implement a Remoting channel sink that will modify the Remoting message by including a UserName token in the header, then sign the body using the token.
MSDN Magazine November 2003
If your application performs any non-UI processing on the thread that controls the user interface, it may make the app seem slow and sluggish, frustrating users. But writing multithreaded apps for Windows has long been restricted to C++ developers. Now with the .NET Framework, you can take advantage of multiple threads in C# to control the flow of instructions in your programs and isolate the UI thread for a fast and snappy user interface. This article shows you how. Also, it discusses the pitfalls of multiple threads and presents a framework for safe concurrent thread execution.
MSDN Magazine February 2003
Active Accessibility was developed to allow people with disabilities to work on PCs-it's used in magnifiers, screen readers, and tactile mice. It can also be used to create applications that drive other software, and its ability to emulate user input is particularly well suited to the design of testing software. Starting from the basics of Active Accessibility, this article leads you through the development of a software testing application. You'll see how this testing application interacts with common controls and other UI elements, then processes the resulting WinEvents.
MSDN Magazine April 2000
I am using the out of box Collect Feedback workflow. It works well for most part. However I would like to get reviewer's feedback to be shown on a Dashboard. Is there a way to expose that information in a Data View? I couldn't figure
out which data field stores the feedback information.
i'm trying to create a dataFormWebpart for my wss3 site.
here are my steps a took:
1. open my site in sharepointdesinger
2. create a new document (just a blank page, i did not use a sharepoint content)
4. create my datasource (my datasource as a view table i created in sql server 2005. can i use a view table to insert and delete data?)
5. select my data
6.insert new item form
then i browse the page. when i insert some data it gives me this error:
"The data source control failed to execute the insert command."
i looked up on the internet and i see the are talking about the
does this update realy fix the issue?
and i'm using sharepoint services sp2 can i use this opdate for a sp2?
or is there another thing that cause this error?
I really like the added options to Deploy, Package, and Retract Solutions added to the context menu of your solution.ÃÂ These all seemed to work really well.ÃÂ I was able to create a quick Hello World web part and deploy it.ÃÂ I activated it manually and was able to view it immediately.ÃÂ One thing, I am very appreciative of is the ability to choose between a Full Trust or Partial Trust web part when you create the project.ÃÂ You still have to specify the Code Access Security settings yourself, but at least it is possible now.ÃÂ I am also a fan of the new options to quickÃÂ deploy directly to the bin folder and 12 hive.
As a SharePoint developer, I put a lot of files into solution packages.ÃÂ Pages, XML files, Master Pages, Site Template Definitions, you name it.ÃÂ ÃÂ ÃÂ I want to be able to put these files in my wsp.ÃÂ I as