ASP .NET

ASP.NET MVC vs. Traditional ASP.NET {4}

These days, on average, one in every four websites you come across on your daily browse will be written in ASP.NET, but on the newer and presumably better ASP.NET MVC framework, you may find a meager 1 in 100. So what’s the difference?  What distinguishes one over the other?  Is one a newer version of the other?  I aim to answer all these questions and more in this small commentary.

read more...

Covering ASP.net in the Curriculum {1}

Colleges need to teach students about new software and how to use them. There can be infinite opinions on the amount of lecturing on old versus new technology, but most can see that a mixture of both new and old is mostly beneficial for the student. The authors recommend instructing on “traditional mainframe as well as the Internet client/server environments.” Both Wallace and Wolf foresee an integration of the mainframe and web based technologies. Although the article is from 2006, it is still relevant today.

read more...

Session Hijacking in ASP.NET {2}

The article talks about how easy it is to find and exploit unsecured websites using ELMAH (Error Logging Modules and Handlers for ASP.NET). ELMAH is an error logging module for ASP.NET websites that makes it easy for web masters to view the errors their websites are giving. It is a very popular module for ASP.NET and used widely. The information it gives administrators is so informative that hackers can use the same module to exploit and hijack a website by looking at the same logs. Unsecured ELMAH logs can be used to hijack the entire website because it can provide authentication cookies and user types which the hacker can easily spoof and create their own authentication cookies. Unsecured ELMAH logs can also provide sqlstatements and passwords from the internal database making it a very big security breach. The article then talks about how to protect and secure ELMAH and some best practices to avoid this easily mitigated exploit.

read more...

An Integrated WebGIS Framework for Volunteered Geographic Information and Social Media in Soil and Water Conservation {3}

My article is about how social networking have the potential to increase public participation in soil and water conservation. Basic environmental awareness was for the past decade limited to radio broadcasts, books, publications, and some websites. The introduction of social media created a new level of interaction between the geographic information system(GIS) and its participants. Incorporating different technology in order to create an interactive website promoting  a healthier planet.

read more...

ASP.Net Hacked.. Again! {3}

This week’s article touches on ASP.net and Microsoft’s support of the resource. According to the PC world author, many web app frameworks are vulnerable to a denial-of-service attack targeting the way they handle what is called “hash tables. The author goes on to describe this flaw and what hash tables influence, “Hash tables are used to store and retrieve data rapidly, allocating the data to different slots in the table based on the results of a calculation — the hash function — performed on the data itself. Ideally, the hash function would return a different result, or hash, for each possible item of data, but this is not achievable in practice, so implementations of hash tables have to deal with ‘hash collisions,’ where two or more different pieces of data generate the same hash.” The knowledge of how has tables are calculated by a web application allows it to be infiltrated by anyone with the correct set of skills. Looking to how they resolved this, Microsoft immediately put out a patch to hopefully end this issue for good.

read more...

ASP.net Code Cloning {1}

Frequently change in requirements, tight delivery deadline and complex application architecture slow down web applications development and encourage code cloning. Web application frameworks mainly support developers to speed up development by providing libraries for database access, session management, and they often promote code reuse. In this paper, we provide a systematic study of cloning in six (6) Web Applications of different sizes, developed using Classic ASP.NET and ASP.NET MVC framework to find out whether there is any relation between frameworks and code cloning. The contribution of our study is: 1) the study results shows which framework in .NET technology can be chosen to avoid cloning in development of web application; 2) the cloning metrics that we have calculated and applied in our study may be useful in other similar studies.

read more...

ASP.NET VS PHP {4}

The article I read for this week explains the top six reasons to use. Net. In this article author compared ASP .NET VS. PHP.  According to the author, there are quite a few reasons that make the ASP.NET better than PHP. First of all speed, all .NET applications, ASP.NET applications are compiled. This makes them much faster than PHP, whose applications are interpreted. Furthermore, author mentioned that ASP.NET is written using Object Oriented programming languages of your choice. PHP is just a simple scripting language in comparison to .NET languages like C++, C#, Visual Basic.NET, Java Scrip.NET, and so on. However according to the author, the PHP is definitely more clean and concise than classic ASP (with vbscript or javascript), but it’s a mess compared to C#, J#, or even VB.NET, which are the common languages used for ASP.NET apps. ASP.NET scales much better than PHP or classic ASP does, but it costs more to host on account if it needing to run on a windows server. Author mentioned that PHP is the better choice for a quick and dirty site that doesn’t need a ton of code.

read more...

ASP.NET vs. LAMP {2}

The topic of my article this week talks about the disadvantages and advantages of using Linux PHP vs. Windows ASP for web hosting. A general rule for a Windows or Microsoft coder will usually choice ASP.NET. The advantage of using ASP.NET is the ease of use and relative short learning curve since the software is easy to use. The drawback of using this software is the massive amount of money that will cost to develop and maintain the web page. On the other spectrum we have LAMP, which is open source and has no licensing fees. Which makes it an optimum choice, when on a short budget. The installation of both tend to be the same. What sets Microsoft apart is it easy setup wizards, where LAMP uses coding and dialogs for installation. This may be a problem if the web master or developers has little coding experience. One of the advantages of LAMP is the use of low resources and hardware speeds. This allows it to be installed in virtually any host. ASP.NET is ran on Windows which can be a problem when being installed in old computer hardware. When it comes down to it there really is no one better web hosting advantage over the other. It all really depends on many factors such as specific use and funds to develop the website.

read more...

Why do We Learn ASP.NET? {1}

Information Systems (IS) graduates need to learn a way to find a good balance between the old and new technology which constantly grows more complicated when a new technology is introduced into society. The one of the main reasons why Microsoft’s ASP.NET technology is useful is because it can integrate mainframe and client/server technologies. The authors stresses that for proper operation of IS and Visual Studio.NET, IIS (Microsoft’s Internet Information Services) must be installed before Visual Studio. Luckily like the tip suggested our teacher gave us a short introduction to the software.

read more...

Microsoft Open Sourcing it’s ASP.NET Technology {1}

Just recently, Microsoft has decided to start open sourcing their ASP.NET technology. This is a surprise move considering that Microsoft is not really known to open source any of it’s programs, especially core development applications such as ASP.NET. However, just recently, Microsoft did make the ASP.NET MVC source code available for developers. What has been the biggest news is that Microsoft has opened up even more and decided to release the source code for ASP.NET Web API and ASP.NET Web Pages, also known as Razor (Taft, 2012). Many developers are pleased with the initial releases, however, they are very surprised that Microsoft will actually be willing to take contributions from the developer community for the first time. Microsoft has never taken in out of company developer contributions for any of their applications that are currently being distributed (Taft, 2012). This is a major step forward for the giant company from Washington. In a recent blog post by Scott Guthrie, Vice President of the Microsoft Server and Tools Business division, Guthrie stated how due to the fact that Microsoft has open sourced their ASP.NET technology, they’ve decided to also include open-source technologies into their own ASP.NET product such as jQuery, jQueryUI, jQuery Mobile, and many more (Taft, 2012). Hopefully this turns out to be a good idea for Microsoft, however, it seems that their idea has made many developers pretty pleased.

read more...