| Business entities, distributed application and reporting (2 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hello I have been reading up quite a bit on distributed application design. However, I can not remember to have seen anything, or almost anything, about N tier applications and report design within the applications. One of the goal of an N tier application is to located business logic in one single place. Regarding data access is my preferred approach to create my own entity objects and return col... |
|
| Business logic conceptual question (5 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi guys, I want to developp a windows form application with a 3 tiers model. My question is : how to transform my data from the data base into objects ? I think my method isn't the best. Let me tell you : I create a class Person with a shared method GetAllPersonFromDb() This method uses a select statement to retrieve all the persons in my data base and create a dataset. I loop in my dataset and cr... |
|
| limitation on number of parameters in Microsoft.ApplicationBlocks.Data (4 replies) |
| microsoft.public.dotnet.distributed_apps |
| Is there a limitation on the number of parameters in Microsoft.ApplicationBlock.Data component. (SQLHelper.vb) ? My app was working until I added more parameters to pass to a stored procedure. After going from 14 to 22, I started having as yet undetermined problems. Thanks, Greg |
|
| MS Configuration Management Application Block (4 replies) |
| microsoft.public.dotnet.distributed_apps |
| I am trying to use the Configuration Management Application Block (CMAB) to store the settings for an add in that I am developing. I get an exception when trying to read the settings calling ConfigurationManager.Read. The error I get on ConfigurationManager.Read() is: Options.LoadOptions: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.ApplicationB... |
|
| Architecture Question (9 replies) |
| microsoft.public.dotnet.distributed_apps |
| I have a client that has a major powerbuilder app that they are about to redo. I work only on custom web apps for one of their clients using .Net but I do get called in for many of their discussions. For the custom apps that I build I have been following the N Tier type of architecture and keep any SQL or data access code off of the aspx files. Since most of their other clients don't care about or... |
|
| Display the form as a icon in Status bar (2 replies) |
| microsoft.public.dotnet.distributed_apps |
| I want to run a form that should be running as a icon mode and when ever i click on icon in status bar the form should be dispalyed as you know the applications like yahoo messenger and other promt messages on click of icon application opens up. I need similar kind of task to be done using VB.NET as there is a need for one appplication in our product. Using VB that can be done using 'shell 32' but... |
|
| Business layer objects to data layer (3 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi I am developing this .NET N tier application with a presentation (with reference to business), business (with reference to data) and data layer. I have implemented my business objects using IList, IEditableObject etc. and so I will be using databinding to communicate between the presentation and business layer. So far...Great! I have more troubles on finding the "best" way to map/communicate my... |
|
| FTP from VB.NET windows application (3 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi all, Can anybody give me some pointers on how to FTP files to and from a FTP server in vb.NET. I would really appreciate any help. Martin |
|
| Exception handling custom publisher (2 replies) |
| microsoft.public.dotnet.distributed_apps |
| I'm trying to debug a custom publisher in the exception handling application block. I'm trying to publish to a SQL server because we are going to be on a large web farm. It first try's to publish to the SQL server using the configuration settings in the web.config file. It has some cascading attempts at logging to other locations in the event of SQL failure, but that's not the issue. I've setup th... |
|
| Should I close a connection in a dispose method? (6 replies) |
| microsoft.public.dotnet.distributed_apps |
| I've built a class to broker the data in may application. In other words, when my business logic needs a list of widgets in the db, it calls mybrokerclass.getWidgetList, which might return a collection or arraylist of widgets. This way, the business logic doesn't care about where the data comes from. (BTW, this is a web application) So my problem is this.. during a postback, a series of operations... |
|
| .NET Remoting fails when Remote Server sends Exception (6 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hello Sending an exception from a Remote method (using .NET Remoting TCP Channel) does not work after installing .NET Framework 1.1 and VS.NET 2003. It works when the Client and Server are on the same machine. Not if they're in different machines. Everything works as long as the server program does not throw an exception. If it does the client crashes with "Server encountered an internal error. Fo... |
|
| signed assembly (5 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi, I've tried deploying an .exe assembly to my firm's network via a url, but had no luck with it. What literature there is is either completely off the mark in terms of the mechanics or Framework 1.1 changed the rules and I basically gave up on this tactic. Instead, I'm embedding my user controls in web pages via object tags accessing web services. This works quite well. Now for the snag when I d... |
|
| Remoting Best Practices (5 replies) |
| microsoft.public.dotnet.distributed_apps |
| Good read especially for those building distributed applications on a LAN. http://www.ingorammer.com/RemotingFAQ/RemotingUseCases.html ice |
|
| Input needed, using lazy load with business entities (20 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hello I could need some input on this issue. All ideas would us received with thanks... Application structure: Thin client (currently an windows app) Business layer Business Entity components Business logic components Data layer The Business Entity components is created by the Business logic components. typically usage: User user new User(); UserInfo myself user.GetUserByName("tek"); // do stuff w... |
|
| Where to do database/info validation (9 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hello I'm having an issue I'm wondering about. I'm desining an application that is using entity objects and data layer wrapper objects to store, retrive and work on the entities against the database. My business layer (where the entities is located) contains business logic as ensuring correct rights, doing calculations and so on. My question is: where is the correct place to do checks like: length... |
|
| Microsoft Application Configuration Bloc (2 replies) |
| microsoft.public.dotnet.distributed_apps |
| Dear all, I am building an application which will have a global configuration menu area in order to set the application to work with different type of option. The amount of configuration data might be big, at first I was thinking of XML files but has it might happen that there are some relations betwen data configuration, I think twice and saying maybe database would be better and more easy to han... |
|
| Windows DNA ans a .NET like solution? (4 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hello, I believe that this question is just another one about the same topic. How to design distributed applications in an easy fashion way like we used to design in the old Windows DNA architecture??? well, some people say we may use .NET with COM and proxy packages spread all over the intranet, or to create .NET remonting components to achieve this goal. But there is no conscence about this. I m... |
|
| How to do elegant Validations in business object ? (2 replies) |
| microsoft.public.dotnet.distributed_apps |
| Hi, let say that i have 2 tables Company, Users. Company table have columns like CreationDate, CloseDate. Users table have columns like ArrivalDate, ExitDate. i have 2 BO : BOCompany, BOUser. validations requiered : 1. CreationDate CloseDate 2. ArrivalDate ExitDate The BO IsValid method accept as parameter a DataSet. What are the ways to do this validations ? use XML Schema validation rules, and h... |
|
| SqlDbType.UniqueIdentifier Data Access Application Block (4 replies) |
| microsoft.public.dotnet.distributed_apps |
| Has anybody solved this yet? using the below code with the app block and ExecuteNonQuery SqlParameter paraId new SqlParameter("@id",SqlDbType.UniqueIdentifier); paraId.Value Guid.NewGuid(); paras[0] paraId; |
|
| DAL Issues (8 replies) |
| microsoft.public.dotnet.distributed_apps |
| When building a DAL I have found that you cannot close a SqlDataReader even in the Finally statement when you return the SqlDataReader from your function in your DAL. So this leaves an open connection. Now that is not really so bad in some cases where the site will not be hit much but in our case this will be on an Intranet with over 300 employees using these applications all day long. So how have... |
|
| ApplicationBlock.Data - ExecuteNonQuery: Connection property has not been initialized (3 replies) |
| microsoft.public.dotnet.distributed_apps |
| Using the following method: SqlHelper.ExecuteNonQuery(LLConnectionString,CommandType.StoredProcedure, str sp, arParms) The connection string out of web.config; Dim LLConnectionString as New SqlConnection(ConfigurationSettings.AppSettings("LLConnectionString")) had been working up till now, so I tried; Dim LLConnectionString as String LLConnectionString "server (local);Trusted Connection true;datab... |
|