G
Guest
Hi;
I am developing an 3 tiered application. And my user interface is an ASP.NET
web application. My methods in BLL only uses own parameters and DAL. Now my
methods are not static. I heard that static methods are dangerous in ASP.NET
because ASP.NET applications are multi thread applications.
I use methods like that:
CustData cd = (new BLL.CustSystem()).GetCustomer(custid);
(new BLL.CustSystem()).UpdateCustomer(cd);
......
I review duwamish and I saw that it is like my application.
Can I make my methods static? Is it dangerous? If no, will it be better?
Thanks in advance.
I am developing an 3 tiered application. And my user interface is an ASP.NET
web application. My methods in BLL only uses own parameters and DAL. Now my
methods are not static. I heard that static methods are dangerous in ASP.NET
because ASP.NET applications are multi thread applications.
I use methods like that:
CustData cd = (new BLL.CustSystem()).GetCustomer(custid);
(new BLL.CustSystem()).UpdateCustomer(cd);
......
I review duwamish and I saw that it is like my application.
Can I make my methods static? Is it dangerous? If no, will it be better?
Thanks in advance.