Tag Info

Hot answers tagged

4

no, there is no difference between calling an ASMX web service vs. any other kind of web service. The code on the server is not exposed because .cs files are by default not served by Asp.Net, or the code for the ASMX is compiled into an assembly in the bin folder, depending on the type of project (Web Site vs. Web Project) deployed. It may be possible to ...


2

Separating code into class libraries (ie. seperate assemblies) can improve design because you can manage dependencies clearly - eg. you can ensure the frontend have a reference to the data access layer but not the other way around. .Net allows circular dependencies between classes, but not between assemblies, and circular dependencies between layers should ...


2

If I understood your colleague's suggestion correctly, the solution proposed was to have a web.config key that contains a type name for the implementation class. You can use this name to retrieve the type, instantiate it (or register in DI container), and use it. I.e.: public interface IAuthenticationBlaBla { ... } public class ...


2

***Edited I am editing here because I did not really answer you question: ASP.NET was created around 14 years ago, when AJAX and DOM manipulation where in their infancy. The idea was to create controls and drag and drop them on a form. The controls would be part of a tree under the web form. Anyway, At that time, ASP.NET fit the bill for 90% of projects, ...


1

It seems like a fairly unstandard way of building out of pages, but that doesn't necessarily mean that it's bad. This way it can be fully dynamic without being tied to the markup. I can see advantages in a highly fluid CMS, for example. In regards to what they generate in an HTML sense, this answer seems to cover most the controls you are asking about. ...


1

SQL Server has a feature called query notification. The application submits a query and some parameters. This is know as a subscription. If data changes so the result of this query would be different with the new data, the notification fires. From BoL: Query notification subscriptions must be created from a database access interface. Transact-SQL does ...



Only top voted, non community-wiki answers of a minimum length are eligible