Is ASP.Net platform independent? [closed] - c#

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
At a recent discussion on Silverlight and advantages of SilverLight over ASP.NET, it was brought up that ASP.NET is not platform independent but Silverlight is. What exactly does that mean ? Is/Is Not ASP.NET platform independent ?

ASP.NET itself is not platform independant - it runs on IIS, which is a web server that runs on Windows. The output of ASP.NET is platform independant because it is raw HTML/JavaScript/etc.
Silverlight can be considered platform independant because it can be served up by virtually any sort of web server because it doesn't execute on the server - it is simply another type of file that is delivered to the browser and it executes within the browser. It isn't universally platform independant though because there are platforms that Silverlight components will not run on (like the iPad), whereas the output of ASP.NET should run fine on these devices.
Edit:
Technically (as pointed out by Tom Tom) you can run ASP.NET on Linux using the Mono framework, if you are happy using the equivalent of v2.0 of the .Net framework (source here). Mono itself is at the equivalent of v4.0 of the framework, but ASP.NET lags considerably, meaning it is not really a viable option unless you really are determined to do things for free (in which case why use ASP.NET 2? Use PHP or similar instead).

This is what i got from a site while searching
ASP.NET is not a language in itself rather a web technology that uses .NET programming languages to build dynamic web sites and web applications. I suppose the question is if .NET is platform-independent?
My answer would be 'currently, no'. .NET is slowly catching up but it is still way to go before it become platform independent. The framework works only on WINDOWS at present and not on other OS. I would say it is language independent. That is to say any language targeting CLR can be used to write code for applications.
A new project called MONO is in works which will allow the .NET framework to be installed on LINUX but there's no official support from MS on this as of now.

Related

How do I get started writing iPad, iTouch, and android apps using C#? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Ok friends, I'm a C# WPF .net developer and have been working pretty much exclusively with UI development in one language or another for the last 15 years. The last 7 have been with C# and I have to admit that I am spoiled.
So, the question is: How do I get started, and what tools are best to use? I see that MonoTouch is out there, but it looks like it is now called Xamarin. What about PhoneGap, Titanium, Appcelorator? Are there others I haven't heard of yet?
I am just wanting to break into Android Development and/or iPad/iTouch development, but don't want to go native. I would like to leverage my C# skills, preferably WPF, but I have no idea which tools support that for Android/iPad/iTouch development.
Which ones integrate with Visual Studio?
Anybody who has REAL EXPERIENCE with any of the above, or one that I haven't heard of, please chime in and point me in the right direction.
I really appreciate it.
Phonegap works by having a web view loading a html & javascript application, so, you wouldn't be using C#, and the results usually are a far shot from a native app.
In contrast, mono touch compiles your C# code so it can run natively on your mobile platform, and since they implement a wrapper around the native libraries you are suposed to be able to write applications as good as if you had gone native. On your case i think that would be pretty much the best way around.
By the way, Mono Touch doesn't remove the requirement of having a mac to develop iOS applications.
One of the best technologies is the Mono for Android/iOS framework - specifically for the fact that you can target 3 platforms just by coding for the one. Of course UI is independent so you'll still need to learn each platforms Design patterns etc... But here
http://xamarin.com/?gclid=CM_agZWFgLYCFUvHtAodeDYADw
The best place to start
If you're coming from WPF and familiar with the MVVM pattern you will find loads of js frameworks that share the same approach (KnockoutJs is a good one), basically this is what you'll be using if you want to go with a cross platform solution like PhoneGap wich is nothing more than wrapper for a webapp, and a few apis to access your device.
Personally I find PhoneGap a good solution only if you want to access the features of your device within a simple application.
As soon you start to add pages to it the feeling lack of responsiveness will make you wonder why you didn't go native from the start.
I would go for Xamarin. The Xamarin 2.0 has Visual Studio integration. You can write code for iOS or Android on Visual Studio 2012 (I am a ReSharper fan :) ).

C# MVC vs ASP.NET MVC difference? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am an intermediate C# developer and taught myself the basics of C# MVC, but not ASP.NET MVC. I already know classic ASP and ASP.NET though I haven't used them in many years, at least 5, since I mostly do C# desktop development at my job. The thing is, I now want to migrate all of our existing C# applications to the web..
So, I am going to start looking to hire a new developer but my question is this, since I don't really know ASP.NET MVC specifically would it be smart to look for a C# MVC developer only, since I plan to have all our internal C# apps migrated to the web? I know that ASP.NET and C#.NET can be used together but I want to try and keep everything uniform. This person will likely have to understand some C# to be able to migrate our internal apps so should I continue looking for a C# MVC developer only or do you think an ASP.NET developer will have no problem? I imagine there are plenty of ASP.NET MVC developers out there but not as many knowledgable with C#...plus it would help if they understand the not-so-difficult C# written apps when they they migrate to MVC.
Can someone explain the pros/cons or differences between the ASP.NET MVC & C# MVC or what issues I should expect to come across?
Thanks in advance!
Well, there is no C# MVC.
MVC (Model, View, Controller) is an Architect Pattern.
ASP.NET MVC is an implementation of this pattern of Microsoft ASP.NET and you can use C#, VB.Net and other languages to programming on this platform.
You also can build your application using MVC principles (for sample) in a Windows Forms application without any default implementation like ASP.NET MVC.
In general, I try to test for general programming and problem-solving skills.
If a developer cannot quickly pick up a new library or language, I probably don't want to commit to hiring them.

Difference between .Net 4.0 framework and 4.5 framework? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am presently working on an application with 3.5 framework. Would it be better to move the application to 4.0 or 4.5? What are the features/enhancements which are added in .NET 4.5 and not available in 4.0?
Any links to find the difference among both the versions(4.0 & 4.5) would be appreaciated.
One thing that's not in .NET 4.5 is support for Windows XP.
So, if you want your application to support XP, you have to stay on .NET 4.0. :(
.Net framework 4.5 has been officially released, so you may move to that instead of 4.0. One of the main thing I noticed new in .Net 4.5 is the support for Spatial data types. DbGeography and DBGeometry and its support in new Entity framework 5.0
You may want to see: What's New in the .NET Framework 4.5
You may also see:
.Net 4.5 came with C# 5.0. You may see its feature at: Intro to C# 5.0
The .NET Framework 4.5 includes new garbage collector enhancements for client and server apps
.Net 4.5 Version history from Wikipedia
Cross-Platform Development with the .NET Framework
Element : (On 64-bit platforms, enables arrays that are greater than 2 gigabytes (GB) in total size)
Background GC model for server processes
Async/await language feature in C#
New framework features
New C# features
Have a look at this
http://msdn.microsoft.com/en-us/library/ms171868.aspx
The inclusion of Entity Framework version 5 is working well for me.
-Asp.net 4.0
Web.config File Refactoring
Extensible Output Caching
Auto-Start Web Applications
Permanently Redirecting a Page
Shrinking Session State
Expanding the Range of Allowable URLs
Extensible Request Validation
Object Caching and Object Caching Extensibility
Extensible HTML, URL, and HTTP Header Encoding
Performance Monitoring for Individual Applications in a Single Worker Process
Multi-Targeting
.... etc
And Asp.net 4.5
there is also a long list of improvements.
Asynchronously Reading and Writing HTTP Requests and Responses
Improvements to HttpRequest handling
Asynchronously flushing a response
Support for await and Task-Based Asynchronous Modules and Handlers
Check this post for more info
Read our Scott Hanselman blog
Visual Studio 2012 and .NET Framework 4.5 is RELEASED - Here's 5 minute videos to get you up to speed quick
.

Windows 8 and Desktop Apps [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I found out that windows 8 is going to be heavily dependent on C++, HTML5 and CSS based apps(WPF ?). I spend a lot of time working on applications like matlab, scipy and C# as programming language at my workplace. Considering this, is there going to be any big change for desktop app developers ? are these apps going to be re-written under new code and C# has any future for desktop apps?
A lot of hearsay at the moment until September it seems there is nothing definite.
There is wide speculation on whether Jupiter will be the unifying
user-interface model for Windows, Web and mobile. Burela believes
Jupiter may a “next generation” XAML-based framework, perhaps a
“mashup between WPF & Silverlight.”
There also appears to be equally strong support for three key
programming languages: C# to appease the .NET developers, C++ to
appease the Windows core developers, and HTML5/JavaScript to try to
lure developers from other platforms.
Of course the controversy has been Microsoft’s focus on JavaScript
while nearly ignoring Silverlight and .NET developers. Articles like
this one — though unofficial and speculative — should help calm some
nervous developers.
Source: http://www.isdotnetdead.com/windows-8-supports-all-programming-models/#
ZDnet try asking probing questions.
Here is another link about the future of C#
Okay, your question confuses some terms - based on the articles you cite.
Microsoft are quoted as saying that the application they demonstrated on Windows 8 was written using HTML and JavaScript. The article interprets this as saying that WPF and Silverlight are likely to be binned in favour of HTML and JavaScript.
Let's have a think about this.
As far as I'm aware, Microsoft have been really keen to run applications in the Browser for a very long time. They have made ActiveX controls that run in a browser, they have written Silverlight to run in a browser. They are one of the leaders in the whole "browser based applications" concept. People may criticise their methods of achieving this in the past, but at least they were trying.
When you consider that Microsoft currently have a desktop package called Office and also a web-based package called Office365, you can understand why they might want to just have one package to maintain that works on the desktop and in a browser.
My final note - the ARS Technica article describes HTML tooling as inferior, but seeing as you can use the same tools to write a WPF application or an HTML application I don't agree with this point.

Cross platform, stable, and with great feature web platform [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
We are a group of 2 C# programmers, which have experience in wcf web services, asp.net MVC 3, different architectural patterns, Inversion of control etc.
We have to implement a web site, which will run on Linux with minimum of 10k online users.
The problem is that it will run on Linux, and we don't know what language to choose, which is stable, maintained, free, cross platform, and reusable in business/desktop applications.
We think about Java servlets and Python's Django framework, are there other good frameworks?
Which one to choose, we are confused.
Thanks in advance.
EDIT:
What about the performance of JSP vs Django vs Asp.net MVC on Mono vs Ruby On Rails?
We are a group of 2 C# programmers, which have experience in (snip) asp.net MVC
You want to write a web-site, and you have asp.net MVC experience... ASP.NET MVC can run on linux / Mono. So my suggestion... do that.
Some links:
Deploy ASP.NET MVC on Linux: Best Practices, Tools & Surprises
Developing ASP.NET MVC Apps Using Mono
Setting up a Ubuntu, Apache, MySQL, Mono, ASP.NET, MVC 2 Development Server
mono FAQ : ASP.NET
If you don't mind moving out of your comfort zone, I would recommend Ruby on Rails (on top of Django and JSP).
I love Python and Django, and even use it in every projects I have at school/uni before.
But it's just me, who have some experience with Python; everything you know have some real-world sample with large scale, so choose the one you like/know best.
You are going to deploy in Linux, so maybe ASP.NET is a acceptable choice, but not the best. I would recommend Django (because I love it); Ruby on Rails is another good choice, but I don't like it because of some bad experience before with its dependencies. Python and Ruby both has its advantages and dis-advantages.
There's another web development framework choice for Python like Pylons (Quora use it), webpy...

Categories