Call Us
14
Jan 15
C# Web Application Tips
Written by Steve Jones

A C# web application is a web app written in the programming language known as C#. For those unable to tell their PERL from their PHP, C# is a type of code for running computer programmes. It was developed by Microsoft for using within the .NET software framework that essentially runs Windows. It has since become one of the standard programme languages, making it excellent for achieving cross-platform compatibility.

So in English? A C# web application is a great way to make sure that as many people as possible can access your content, regardless of platform. Despite its origins, C# can run on Android, Mac and iOS devices as well as Windows-based machines; it has been adopted by standards bodies such as Ecma and ISO, too – a sure sign of its wide implementation.

The C# Web Application

As you might imagine, our developers love a good C# web application. How to go about building one, however? Most importantly, you use one codebase for every application: if you can combine the logic layers of the C# app with fully native User Interfaces (that is, almost skin the C# code so that the look and feel of each app will match a user’s expectations for their device), you’ll get the absolute best of all worlds.

Mono is the best compiler for the cross-platform C# web application, making it possible to write your app and then produce platform-specific code for whichever device you require, from a desktop PC to an iPad. Why is this approach best? Because otherwise you’ll wind up ‘abstracting’ your app: trying to produce a single app that works everywhere will result in an app that runs more slowly; produce a C# web application via Mono allies flexible base code with UIs designed specifically for each device.

Web Application Development and C#

Not only that, but C# and the .NET framework within which it operates are tried and tested. They have a long track record against which we can set a lot of store. In other words, they’re stable: whilst both writing the code and then using the app, you can rest assured that the support exists within the language to achieve the effects you’re aiming for.

It’s worth remembering that non-native apps will always have a disadvantage: in iOS, for instance, some of the ‘on-the-fly’ abilities of .NET are restricted (Reflection.Emit, for example). The good news is that a compiler like Mono will ‘expand’ the .NET and C# ‘shortcuts’ in your C# web application into static code for the device you wish.

Many developers have long argued that .NET and C# are ‘bloaty’: that they produce software which takes up too much memory. With the tools now available to developers, that issue too can be neutralised. So the question for businesses and developers looking to square the circle of multi-platform launch and native app responsiveness is this: can you afford not to explore the C# web application?

Get in touch
Application development starts with a conversation. All our app projects are shaped around the customer.