|
I was in your position a while ago, so I feel your pain.
I assumed you were working as part of a dev team, and further assumed (as a consequence) that there was a reason why your aspx pages were communicating directly with the ERP system. As this isn't the case another thing you really should consider is a 3-tier architecture. This is where the website talks to a Web/WCF service, and the service talks to the ERP and Database systems.
The main advantages of a 3-tier architecture are
a) Each layer can be made to deal with its own stuff, and only its own cleanly, which will improve code quality and maintainability
b) If you need to write something else (e.g. a Winforms app, automatic service) to interact with the ERP system you can call the service directly.
c) You can replace any given layer in the stack more readily.
d) Scalability
e) [Most useful for your immediate problem] The user can interact with the ASP site, the site fires the update to the server (which returns and continues to process in the background). Which is the requirement you need right now.
Googling for the term 3-tier architecture or n-Tier architecture should provide more guidance.
Good luck, should be fun!Antoine de Saint-Exupery: Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
|
|
|
|
|
i am using sql server 2000. i have two database and have same schema now i want to develop a c# apps which will take two parameter source server and destination server and sync all the table data from source server to destination server. please help me with industry standard logic.
thankstbhattacharjee
|
|
|
|
|
There is no "industry standard logic" for this. Disable any appropriate constraints, copy data, re-enable constraints. Pretty simple on the surface. There are plenty of tools available that already do this. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Hi All,
Got a .Net WinForms application with lots of forms, controls etc. But I have an issue when my monitors are set to display at 120dpi instead of 96dpi.
The problem is that some controls (tabControl, treeView, pictureBox) are not seeming to keep there anchor properties (i.e. they do not resize as they did on 96dpi).
After searching around I have seen a few suggestions one of which was to set the AutoSizeMode of the form. If I change this to .None then the resizing issue is solved. However this leaves and issue with fonts re-sizing and being clipped by other controls etc. Any other AutoSizeMode causes many control to not resize. Plus some control are added on the fly and are not compensated for when in AutoSizeMode = Font anyway.
Can any one offer a solution to this, which must be a common (unknown to most) issue?
Basically I just want to apply a settings of some sort which will stop any controls scaling based on the DPI setting. Is it possible?
Thanks in advanceLife goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
There is web service which takes a string as an input and I want a web control to be returned as a out put from that web service. However, when I do so there is an error that web controls that cannot be serialized.
Is there any other way by which I can achieve the same. Please help?
|
|
|
|
|
Of course you can't return a control from a web service, what would be the point anyway.
You should stop what you are doing and read up on what exactly a web service is and what it is used for. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
A web control is a pretty complex object to be returned through a web service. Typically you'll only build web services that return data, the information you'll bind to the control, not the actual control.
If the web control you use is based upon the information you send through the web service, you may just want to return instructions on which web control to use, then build it on the web side.
|
|
|
|
|
Hi Developers
I decide to develop an application with C# which uses SQL server express edition.
My application shall works on the local network and some workstations use the SQL data simultaneously.
Beforehand I developed similar application with ODBC technology.
I pursue better idea, So I listen your good recommendation.Best Regards,
Reza Shojaee
|
|
|
|
|
|
You can use sqlconnection for local client and odbcconnection for remote client Best Regards,
Reza Shojaee
|
|
|
|
|
Depends how big your project is but it is worth Looking up LINQ to Entities and NHibernate. These are both ORM frameworks that allow you have a relational database, whilst living in the object world on the C# side. After this, LINQ to SQL is a possible, lighter weight choice. Finally you could use straight ADO, but in a good implementation this alone can be cumbersome.
NHibernate currently has better features, but long-term LINQ Entities might be the pony to back, as the framework is by Microsoft, and comes with .NET 3.5 as standard.Cpianism: I have a negative number in my Rep so please fix it.
Chris Maunder: That isn't a bug.
|
|
|
|
|
Hi My friend
My project isn't very big, But I like new experiences.
Beforehand I heard about LINQ but NHibernate is unfamiliar technology for me.
My project is a windows application, these technologies only use for web or no?
Do you know good example of these technologies ? Best Regards,
Reza Shojaee
|
|
|
|
|
Reza Shojaee wrote: My project is a windows application, these technologies only use for web or no
These technologies are intended to allow .net applications (of whatever type) to communicate with the database. As long as you can connect to the database across your network, they should be fine.
Reza Shojaee wrote: Do you know good example of these technologies
I suggest either doing a search on this site (I'm sure there are some excellent articles around), or googling for them. I started using these a while back, so I haven't looked at introductory articles in a while.Cpianism: I have a negative number in my Rep so please fix it.
Chris Maunder: That isn't a bug.
|
|
|
|
|
|
|
|
|
Nematjon Rahmanov wrote: Please stop chating in arabianFarsi
They've been reported, when the hamsters wake up, doubtlessly they'll be banned.Cpianism: I have a negative number in my Rep so please fix it.
Chris Maunder: That isn't a bug.
|
|
|
|
|
Let us hope so. btw are you aware of this[^]? MVP 2010 - are they mad?
|
|
|
|
|
Richard MacCutchan wrote: btw are you aware of this[^]?
Yes, thanks, I'm just rising above it.Cpianism: I have a negative number in my Rep so please fix it.
Chris Maunder: That isn't a bug.
|
|
|
|
|
|
|
روي صفحه كليك ميكنم پيغام ميده
please dont steal my stuff!!!!
|
|
|
|
|