Click here to Skip to main content
15,891,375 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Detecting OS and System Info Pin
kaschimer9-Dec-02 3:18
kaschimer9-Dec-02 3:18 
GeneralRe: Detecting OS and System Info Pin
matthias s.9-Dec-02 3:42
matthias s.9-Dec-02 3:42 
GeneralCalling MFC fns from web service Pin
In-At8-Dec-02 22:44
In-At8-Dec-02 22:44 
GeneralFlatten DatetimePicker Pin
ChanPhuong6-Dec-02 17:04
ChanPhuong6-Dec-02 17:04 
GeneralCurrentCulture - Right-To-Left Pin
John06116-Dec-02 5:08
sussJohn06116-Dec-02 5:08 
GeneralDistributed Applications Pin
Dan Smith5-Dec-02 21:45
Dan Smith5-Dec-02 21:45 
GeneralRe: Distributed Applications Pin
James T. Johnson5-Dec-02 22:26
James T. Johnson5-Dec-02 22:26 
GeneralRe: Distributed Applications Pin
Burt Harris8-Dec-02 12:22
Burt Harris8-Dec-02 12:22 
Start with building a ASP.NET Web Service. This class will be your Facade, and will invoke your business rules, and data access layers. If your architecture supports .NET code on both client and server, you can pass managed DataSets across the boundry, which will make both sides easier to write. From what I understand, you UI will be a System.Windows.Forms application. You add a web-reference to your ASP.NET Web Service to that project, and invoking methods on the facade will be a breeze.

For example, the UI want's to start with a list of customers. It calls a method on the facade: GetCustomerList( string territory ) which returns a DataSet. Behind the facade, you've got business rules that check if the user is authorized for that territory, etc. Once validated, a data access layer pulls a limited set of fields needed for this list out of the databse, limited to the specified territory, and returns it as a DataSet. This list might have just Customer Name, City, State, ZIP and ID.

Back on the client, you can drop that dataset write into a grid control to format, scroll, etc. Without round-tripping, you can sort of any of the fields. Once the user selects a customer, you call another facade method: GetCustomerDetails( string customerID ) which also returns a DataSet. If changes are made, call facade method UpdateCustomerDetails( DataSet details ).

Hope that gets you started...

Burt Harris
GeneralRe: Distributed Applications Pin
Nick Parker8-Dec-02 13:07
protectorNick Parker8-Dec-02 13:07 
GeneralHard to solve... Pin
Daniel Turini5-Dec-02 11:13
Daniel Turini5-Dec-02 11:13 
GeneralRe: Hard to solve... Pin
leppie6-Dec-02 7:20
leppie6-Dec-02 7:20 
GeneralRe: Hard to solve... Pin
Daniel Turini9-Dec-02 3:44
Daniel Turini9-Dec-02 3:44 
GeneralCan't find mfc70.dll Pin
TianYang4-Dec-02 21:13
TianYang4-Dec-02 21:13 
GeneralRe: Can't find mfc70.dll Pin
Stephane Rodriguez.4-Dec-02 21:54
Stephane Rodriguez.4-Dec-02 21:54 
GeneralLatest Version of SDE Pin
Joshua Nussbaum4-Dec-02 12:34
Joshua Nussbaum4-Dec-02 12:34 
GeneralRe: Latest Version of SDE Pin
Rob Graham4-Dec-02 15:51
Rob Graham4-Dec-02 15:51 
GeneralRe: Latest Version of SDE Pin
Jeff J4-Dec-02 18:24
Jeff J4-Dec-02 18:24 
GeneralRe: Latest Version of SDE Pin
Burt Harris8-Dec-02 12:42
Burt Harris8-Dec-02 12:42 
Generalrun-time form designer Pin
dur_kart4-Dec-02 3:17
dur_kart4-Dec-02 3:17 
GeneralActivator.CreateInstance() and JITing Pin
Jarrod Marshall3-Dec-02 16:17
Jarrod Marshall3-Dec-02 16:17 
GeneralRe: Activator.CreateInstance() and JITing Pin
James T. Johnson3-Dec-02 16:48
James T. Johnson3-Dec-02 16:48 
GeneralRe: Activator.CreateInstance() and JITing Pin
Jarrod Marshall3-Dec-02 17:12
Jarrod Marshall3-Dec-02 17:12 
GeneralRe: Activator.CreateInstance() and JITing Pin
James T. Johnson3-Dec-02 20:41
James T. Johnson3-Dec-02 20:41 
GeneralWeird OnKeyDown bug... Pin
Jon Rista3-Dec-02 11:23
Jon Rista3-Dec-02 11:23 
GeneralRe: Weird OnKeyDown bug... Pin
Jeff J4-Dec-02 18:32
Jeff J4-Dec-02 18:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.