Is ASP.NET Web Pages with Razor Even A Contender? [closed] - asp.net

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm just getting into ASP.NET web pages with Razor. Based on what it has to offer, would you choose it for your application? It seems to me the ASP.NET MVC framework gives Razor more of an edge because of everything MVC has to offer; it's nice that the web pages framework has some helper components from the WebMatrix DLL, but most of the examples having all the code in one file, plus the reliance on a new set of API's (via webmatrix) is a turnoff to me.
What do you think?
Thanks.

Razor View Engine + ASP.NET MVC is a great combination. Razor definitely seems like the view engine of choice most of the time because it is syntactically much easier to read and work around than ASPX. This benefit alone is huge because you can have developers that are solely focused on HTML and UI development, and have them be able to work around the syntax.
The biggest problem with Razor so far has been it's intellisense support. But, it looks as if the latest version of ReSharper solved that problem nicely, and I'm sure the support for Razor will continue to get better.

Related

The whole idea behind one ASP.NET [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
What is the whole idea behind One Asp? Is it something like we will be able to develop applications for all asp.net framework without any target framework oriented development using VS IDE. How it can change the usage of ASP.NET in the future?
.Net is a framework. means simply it is a collection of large library to solve different programming needs when a programmer wants to write a software. A library is not of books but of small different collection of code . ASP.net is a .net framework. means one who knows ASP programming then ASP.NET is an extention of ASP in .net framework.
It is mainly used for:
Improved Performance and Scalability
Enhanced Reliability
Easy Deployment
New Application Models
Developer Productivity

need to learning asp.net web services, where to start? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am back to the job market next month. I am looking for an asp.net developer job. my current job does not use web service at all. last time, I am using it was 6,7 yrs ago.
If I need to pick it up, where to start. I searched on amazon.com, those .net web service books are really old, they were written in 2002. Does that mean web service is outdated, no one using it? is there a newer tech to replace it?
I did see a few newer books, but they are RESTful web service, whats the difference between web servie and RESTful web service.
please let me know what you are currently using and where should I start learning.
I learned web services by just tinkering around and looking at code examples.
Here are a few resources to get you started. If you have more questions, feel free. :)
http://msdn.microsoft.com/en-us/library/ms972326.aspx
http://www.asp.net/web-forms/tutorials/aspnet-ajax/understanding-asp-net-ajax-web-services
http://www.codeproject.com/Articles/1231/ASP-NET-Web-Service
http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-and-call-a-simple-web-service-in-aspnet
WCF is the successor to web services. WCF contains a lot of bindings they are ways how you bind clients and server. You can use BasicHttpBinding if you need compatibility with clients that used ASP.NET Web services (ASMX-based services).
And now about books. I have found Programming WCF Services very useful. But it doesn't contain full information about security.

Database connectivity ASP.net? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I've googled this question repeatedly, but have not found a great answer anywhere. I'm sure someone familiar with ASP.net could answer this pretty easily. What is the best way to connect to a database through ASP.net? LINQ to SQL? Entity framework? I'm not able to find an overview of the different methods to connect or of the place that these technologies have in ASP.net. An explanation or a pointer to a great link would be appreciated. Thanks.
This is, unfortunately, a question without a clear cut answer as it depends on your application need, flavor of database you need to interact with, standards currently in place at your target deployment environment and application design considerations.
Most often relational database access is accomplished in asp.net through either direct or indirect usage of ado.net. If you plan on adhering to common, current practice you should look into using an ORM to speed development time, namely either Entity Framework or NHibernate. (Linq to SQL was great for SQL Server but has been eclipsed by EF.). My preference is NH.
Sorry for the somewhat subjective answer, but this is unintentionally a subjective question.
Good luck!

Adobe Air (Flex or Html) Application Architecture [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have no experience with Adobe Air/Flex and want to know, are there some principles (design patterns) for developing Adobe Air/Flex applications?
Thanks.
Flex applications are normally developed using an MVC framework. These frameworks are built on best practices and design patters and determine the (micro) architecture of your Flex app. There are plenty of MVC frameworks available for Flex, see this discussion for a comparison:
Flex MVC Frameworks
No, there are no hard code rules. Just as, if a J2EE becomes too huge and complex you consider using a framework, similarly it will be the case for Flex. If you feel confident that your application size will be within your limits, don't use any framework.
If however, you want to use a framework, there are various choices with some of the best being, Parsley, Cairngorm 2.0, Swiz, PureMVC. However, which framework you should use depends upon your application. If you want to develop an Enterprise app, where you are hitting dataservices to fetch data now and then, use Parsley or Cairngorm 2.0, though if I were you I would prefer to use Parsley.
One important thing you need to take care of though is performance in Flex. Similar things apply to AIR as well.

What is the architecture of BlogEngine.net extension manager? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was just wondering that what is the architecture of blogengine.net extension manager ?
How it loads the extension dynamically, how can I use same kind of functionality in my web applications ? so that every time i just create one class and corresponding page then just plug into the website.
Moreover I am interested to know the architecture as I didnt find any article or tutorial on it.
Any help would be appreciable.
You can see for yourself the code is on codeplex
You can read about what it is and how it works in the wiki docs.
Blogengine uses reflection to find and instantiate types attributed as "extension" and extensions itself use event listeners to communicate with core library. Extension manager is basically API and admin front-end for all extensions running on the blog.
Maybe the Plugin Pattern, have a look here how this works..

Resources