Creating Websites in C# Bad Idea? [closed] - c#

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Is it a good idea to create a website using C# and .Net? I thought of using PHP and codeignator but I would have to learn two new things.
Is it possible to do this fully in C#?
Could I do it completely inside Visual Studio?
What kind of problems should I expect?
Is it a good idea or should I be looking at PHP and Phython (the only opinionated part so please use your own experience as example to prove this point).
The bold points are the ones I care most about. I understand #4 is very opinionated but if you can provide me with your own experience it would help, something like "I tried and my website was really slow/fast because of [this]." would help.

Yes. It's a good idea.
The entire StackExchange network is developed in .Net
yes
yes
A lot, performance, hosting, responsiveness, scalabilty.
It's possible, of course. I prefer .Net.

Related

Project ideas using OOP in VS using C# with GUI [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 days ago.
Improve this question
I'm (new to) teaching OOP and I'm racking my brains for a simple OOP project that uses inheritance that can have a simple GUI. I am not doing a calculator, its been done to death. I want to allow a reasonable amount of creativity and I don't think any of my students have used VS or C# before, which is good because I'm incredibly bored of the same errors in python.
I currently have them refactoring (python) a previous CLI sweet shop program to OOP so it can sell different products, which allows inheritance nicely. Doing this again in C# with a GUI is an option, or a library maybe with different types of media to "rent". I'm trying to think back to my uni days but that's proving difficult!
Any ideas welcome!
Thanks
As stated above, just looking for ideas, not solutions.

Is #region really necessary in C# coding? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm just curious if #region is really necessary in C# coding, because I don't think I really need it since I can keep track of everything I do(mostly because the projects are small).
So is it really necessary to learn at all?
Good and strong responses to why and why not are very welcome!
No, it isn't necessary and some would say that it isn't even useful.
Personally, I'll use regions if it makes sense to group functionality together - related unit tests, for instance is a place that I'll use regions - but I know that folks differ on this opinion.
The whole point with regions is that it is simply a convenience for collapsing an area of code. It doesn't enforce anything, doesn't check that you've not put functions in the wrong place, etc. But it can be helpful in certain circumstances.

Visual Basic libraries on C# code [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Is it incorrect or frowned up to use Visual Basic libraries on C# code?
One particular example is the CSV parser which exists for VB but not for C#.
using Microsoft.VisualBasic.FileIO for TextFieldParser
I am sure there is other examples. Of course there are ways to do the same in C# but would require writing more code, why reinvent the wheel?
The whole point of .NET (well, one major point) is that it doesn't matter what language things are written in! So calling a VB library from C# is no big deal.
TextFieldParser is perfectly safe and reasonable to use from C#. It's part of the default Framework install. Use it!
"Why reinvent the wheel?" -- Exactly!

Implenting A Rest Web service with Java or C# [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
We are about to implement a Web Service component and we are making a discussion regarding the language that we are going to implement it. It will be either C# or Java. Some of us are supporting Java while other members of the team are supporting C# mainly based on our experience and previous knowledge . Which of these two languages would be the better approach? Answer should consider issues such as Hosting and Deployment. Also please do not turn this in another war between these 2 great languages
Thank you
I don't think that there is any technological challenge of creating Rest based services in any of the language either C# or Java.
It mostly depends upon the skill set and echo system of your company. If you are already working in .net and windows stack and have developer with the same skill set then you can choose Asp.net WebApi otherwise you can go for JAVA.

Create Sandbox C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
are there any tutorials out there on how to create a sandbox using C#?
I would like to personalize my own one, thanks
Study up on using AppDomains. Here's some code examples.
We just recently used the MonoSandbox for Security reasons.
I don't know if it works with standard Microsoft's CLR, or if it is specific to the Mono implementation, but I think it works better than just a custom sanbdbox using AppDomains, and since the source code is open you can probably find a way to make it work for you.
The best documentation I have found for the MonoSandbox is here: http://www.mono-project.com/MonoSandbox
I would start by looking at Code Access Security.

Categories