Answer Questions
Kavi Architecture for Notification based application
I need to develop a notification based system in .Net. Basically as and when certain data gets updated, the client machine is informed about it. There would be a windows based application running across all these clients. One way I was thinking of was to have the clients poll the server for any updates at frequent intervals. Whenever the Server does an update it would post the update into a queue. Every client would poll the queue for any updates. Would like to know if this approach is alrite or suggest an alternative architecture. Thanks Sai Pranchu, Can you please point me to some "publish subscribe model" articles, samples, etc. You can use Remotin ...Show All
Darkside O/R Mapping and visual controls
Hi I'm rather new to .Net: what is the best way to link persistent domain objects with data-aware visual controls What I'm trying to do is to use a rich domain model, get an O/R mapping tool/framework (e.g. NHibernate) to take care of persistence but still be able to use Girds and other DB controls. Any help would be greatly appreciated. Andrei. When binding to a dataset you actually bind to a tables defaultview object which is the one with capabilities of sorting and filtering. For List<Product> there is both sort and filtering (findall) but they both use some kind of strategy object (delegegate for find and IComparable objected for sort) so using them in data binding differs a bit between win ...Show All
LouArnold Database application class separation to tier/layer
Here's what I am doing, I am doing database application with C#. And so, I have class signifying some major tables, and separate DAO for them, as well as another set of classes that would populate the table class properties with the resultset returned from DAO. I am thinking of separating them into separate dll, layers; with DAO at one dll, and the table class at another. Is this advisable Now I have a problem with circular reference, whereby VS would not allow me. My table class would have .Update() and .Delete() methods, where inside it would declare a DAO object and calls the corresponding methods in DAO. But on the DAO dll, it would have to reference the table class as well, during object creation. Is it that these should be ...Show All
Bhanu Akunuri Solution Design?
I was wondering if anybody could give me a few pointers on designing a large solution. We have a rather large application written in a legacy codebase that we are rewritting from the ground-up in C# 2.0. One of the problems I constantly face is the fact that I would like to break things up into separate projects to group common things together but then I always face the problem of "circular references". Can some of you folks who are developing large applications give me some insignt in how you structure your solution(s) I have thought about having separate solutions, but that seems to defeat the purpose of having multiple projects in the same solution! Here's one example of a problem that I face. I want to segregate al ...Show All
Deep123 Approach for modeling a class to import/export information
In my web app (C#), we need to import/export an infinity of txt, xls and xml files. I would appreciate opinions or experiences on how would be an elegant (though easy way) to implement a class/componentto deal with this. BTW, the mechanism will be always the same, that is, import some information from a file (xml, txt or xls) and save it to the database (we are using an ORM), or read some information in DB and export it to a file (xml, txt or xls). Lets say each type of file has a different kind of requirement. Its a financial app, that runs as backoffice. So I need to import information on quotes, operations, customer register etc (each of this has a different format) and export information on operations, consolidated balance a ...Show All
malignate Project Estimation
Hi, I am given a chance to Bid the project. I have been given the requirements which is just 3-4 pages, very high-level. Based on this I have to do some effort estimation. what are the parameters I should take care initially (not going much deep) and should i use any Project estimation tool or excel is okay. someone having this experience can shed some light here . .. Kind Regards, Paresh. you can look at:Function Point Analysis it's a way to count the ammount of work in points... after that you must, have an other number... how much time a point costs to build. That number is calculated of past projects and within my comp. not public. Can you please let me know the URL where we ...Show All
Alessandro Camargo O/R Mapping
O/R mapping is quite interesting. I would like to post this question for discussion. I have the following classes: Employee, FullTimeStaff, PartTimeStaff, etc. FullTimeStaff and PartTimeStaff have many attributes and behaviors in common and also many other unique attributes and behaviors. So, FullTimeStaff inherits from Employee and PartTimeStaff also inherits from Employee. Do you think it is good to map both FullTimeStaff and PartTimeStaff to a single table called Employee (the table contains an extra field to identity whether he is full time or part time) in the database Inheritance is commonly handled by mapping an entire class hierarchy to a single table. The table would have an extra column indicating ...Show All
Tyler Flaherty Presentation layer depends on ????
Hi, I am trying to understand the layering concept with the ASP.NET 2.0 apps. I have a ASP.NET 2.0 Web app which has 3 layers Presentation layer which contains UI elements and Input validation logic Business layer which contains Business Rules, Business Objects and Business Workflow DataTier which contains database tables and stored procedures I understand that each layer is a independent entity and can be considered a blackbox by all other layers. Thus each layer can be built independently of the other layers. But in the above scenario can somebody tell me does the Presentation layer depend on the Business layer only or does it depend on the DataTier as well since there is Input validation involved in the Presenta ...Show All
Janetjyothi Efficient WebPart Development
Folks, I have a bunch of web applications with their own user interfaces written in ASP.NET 2.0 I'd like to host some of these within Sharepoint and I need to understand the most efficient way of doing this . The approaches I've come up with are as follows a) Rewrite the user interfaces as WebParts. Have to code the UI by hand, no design time support. This feels REALLY inefficient from a coding standpoint but will likely end up the cleanest solution. b) Host as iFrames - drawbacks are you lose theme support and a host of other UI features. Also iFrames mean more than 1 URL per page which is undesirable. c) Host UserControls written in ASP.NET in SonOfSmartPart - Feels like a kludge. I'd rather not be reliant on open-source code if I can ...Show All
Sumayah WebDav access to Doc Library
Don't know if this is the best place to post this or not, but I have a question about what happens when the WebClient service is restarted on my Windows Server 2003 SP1 machine. I'm using the Windows 2003 SP1 server as a client, and am trying to copy files from the file system into a document library on SPS 2003 (hosted on another machine). I've noticed this odd behavior... The WebClient service's startup type was set to Manual after I finished installing windows. If I start the service and try to access the document library via webdav (Start - Run \\servername\path\path\libName , or via code like below) everything works fine. If I restart the WebClient service I can no longer access any webdav resources (even though the service star ...Show All
V1ad can we debug sharepoint execution
when sharepoint is executing, like whenwe are creating a list, site or whatever that belongs originally to sharepoint, can we go and debug what s happening and put break points, trace....etc Thank you rtaiss Thank you for the response. I'll let you know how it'll turn out. The bug is well documented and admitted by MS in this link http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1160619&SiteID=1 . According to the link, there's supposed to be a hot fix, but only a few has access to it. I have a good source in MS who suppose to get me the fix. I'll post it if and when I ever get it. All the code behind is compiled into the Microsoft.SharePoi ...Show All
waheyluggage SQL Exception
Repeated in my log I have: Exception: Cannot open database requested in login 'SharedServices1_DB'. Login fails. Login failed for user 'ES\NAD2DS01$'. at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectio ...Show All
faraaz_malak_c92eb4 Transaction across Applications
HI, We have a Web application that consists of a Sharepoint web site with ASP.NET pages as web parts. In the admin module of the application, we have a provision to add a user. On adding a user through the application, the user is added in 3 places, namely in Active Directory (AD), SQL Server database and in Sharepoint database. All this is a part of ASP.NET code with no transaction happening through out the user creation. Now is there any way to impose a transaction in this process That is, until all three AD, Sharepoint and SQL Server databases are up and running and the creation of user happens with no errors, the new user must not be committed in all three databases. This is very critical as it causes inconsistency if the u ...Show All
Chefbrenner Network Load Balancing vs. Hardware Load Balancing (CISCO Arrowpoint)
Hi Have a query regarding using the Windows 2003 Network Load Balancing Service. My ISP provides Load Balancing functionality via there CISCO (Arrowpoint) Device. We were experiencing some problems with the Arrowpoint so during testing I installed the NLB service and got all my websites working to a tee I decided that this is perhaps the best way forward anyway as I had more control over adding and removing servers to the cluster, but none the less I decided to ask my ISP's advice as to which solution was the best. Their response was... "Microsoft's implementation of NLB is not a particularly network friendly application of load balancing. It operates by spoofing the source MAC address in ARP replies. This causes all switches ...Show All
SpunkyMonkey Common Template
Hi, I logged into WSS using administrator account and customized the “Home” page by including ad excluding some web parts and so on. I did all that in the server machine. Then I change the authentication to have windows authentication enabled. Later I try to access WSS site in the server from my local machine using my own account. I able to log in but the “Home” site doesn’t look the same as the one I have customized for the administration. When I customize the “Home” site in administrator account, I wanted that customization to be reflected to all the staff accessing that site using windows authentication. Now that is not the case. How can I achieve that . Really appreciate your help. Thanks ...Show All
