Is it possible to develop a website in ASP.NET with C# as the coding Language and MySQL as the database and then deploy the same on Linux server?
I am talking about a full frontal website like forums or discussion board.
Thanks.
It's possible using Mono.
Please have a look on the Homepage for further details.
You could always try Mono's implementation of ASP.NET and C#. Personally I've had no issues with it but I haven't tried doing something that complex but from my experience it's pretty close to the standard .NET C#.
Related
I've been looking through tons of forum posts and documentation, but I can not find out how to authenticate/launch an app published through a Citrix 7.6 Storefront interface programmatically (preferably in C#). I'm extremely new to working with Citrix so any help would be appreciated.
At my company, we currently have a launcher like I described that works with Citrix 6.5 Web Interface, but we get generic errors when we attempt to use the same technique with 7.6 Storefront.
Can anyone provide me with a sample application doing what I want or point me towards an appropriate SDK/Documentation resource? I would be EXCEPTIONALLY grateful for any assistance!
Thanks!
Very very old post but since I was struggling as well, here's some pointers that works well with StoreFront 3.5.
First of all, the following code works with the StoreFront web api and basic HTTP authentication. You must first do this on the StoreFront server to enabled the authentication with the following code:
Open Citrix StoreFront
Click on "Manage Authentication Method"
Check the box "Basic HTTP"
Here's a class that you can drop in that will work given that you install the following nuget packages:
RestSharp
JSON.NET
WebApi C# Sample
(Sorry I wasn't able to past the code directly here because of formatting)
The sample can be copy/pasted into a console application. I have written and cleaned up the code such that anyone can understand and use it.
if you are using the Receiver 4.0 you can use the Receivers -qlaunch parameter.
See the Citrix dokumentation https://support.citrix.com/article/CTX200337
SelfService.exe –qlaunch “appname” is the command and you can use the process start command in c# to launch the application by name.
I hope this will also help as a simple solution.
Regards Bernd
I am about to emabark on a project that will use Azure and Facebook C# SDK. I was just wondering when will the documentation be available on the C# SDK website? I have no idea where to begin and would love some documentation/tutorials.
Thanks,
Rhonda
As you need some pointer about where to begin, I sure can give your some pointers but get ready for a time of adventure because you sure going to hit some hardtime. What you really need is to develop your project in two steps:
Create an ASP.NET (MVC?) Web application using FaceBook C# SDK
Convert this ASP.NET application to Web Role to deploy to Windows Azure
To start your development for 1) I would suggest following this Documentation:
http://csharpsdk.org/docs/web/
http://csharpsdk.org/docs/web/ajax-requests
I would also suggest to look SO for more assistance during your development when you hit errors as there are lots of solution discussed.
Finally when you come to 2) you can follow how Deploy asp.net application on windows azure..?
This documentation is in progress as of Feb. 11, 2012. We are working
on big improvements for the coming weeks.
Source: http://csharpsdk.org/docs/azure/
So yea, that's your answer.
I am developing a windows based application using C#.
This should be used by the customer after some verification.
Every time they enter the details, the information should be validated in the server. And based on the response the windows-application should proceed further.
Could you please suggest me some examples or technologies ideal for this scenario?
I read through the documentations about WebClient and HttpWebRequest. But still I am not clear. Sorry I am an Embedded Systems Programmer. I haven't worked on Server related technologies.
Thanks for your help.
I would look at Windows Communication Foundation it is a service and messaging framework designed for exactly what you want to do.
a webservice would be a good solution.
look here for more information on creating a webservice:
http://www.codeproject.com/KB/webservices/myservice.aspx
then you can import your webservice like a reference to a class and use it in your clientside c# programm.
http://www.xefteri.com/articles/show.cfm?id=15
this article is for VB, but it shouldn't be a problem, the important thing is the referencing, which is Visual Studio specific and not VB specific.
I would look at a WCF service using a NetTcpBinding. Here is a good link:
http://msdn.microsoft.com/en-us/magazine/cc163394.aspx
I am a little unsure what your reference to a web page in the post title refers to.
I am wondering if aspx generated webpage content can be read on linux platforms. Is it necessary to have the Mono platform installed on the linux web-clients side ?
Mono is only necessary if you want to host your web server on linux. If you want to see a website you only need a browser.
After if you have a moonlight website, you need the moonlight client.
ASP.NET generates HTML markup and JavaScript that can be used on ANY platform.
Only the server-side requires either Microsoft's .NET (Windows) or Mono (Linux).
Not a problem at all, .NET is used to generate standard HTML which is what a web browser understands. There is no need for a .NET implementation on the client.
completely browser dependent. You do not anything else to view a webpage.
Well. It depends. Pages can look like crap if you haven't followed the HTML(/xhtml) standard.
This is the case if you havent looked at the HTML specification but only developed using internet explorer.
The second issue is fonts. Are you using Microsoft specific fonts in your HTML/stylesheets?
Other than that, pages should look quite similar in different operating systems / browsers.
I have an account with the excellent DreamHost web service. I also have a P.S. which means I should be able to modify essentially anything I want on the server. I'd like to create an ASP.NET MVC application, and I'd like to be able to run this from DH. The problem though is that DH provides Linux servers only.
Is this possible or is this an IIS only thing? I can use Apache, Lighttpd, or Nginx servers.
Thanks!
Billy3
The latest version of Mono should support ASP.NET MVC.
This should help you get started:
http://www.mono-project.com/FAQ:_ASP.NET
What distribution of Linux are you running?