I dig into the WPF(browser app) and Silverlight application environment to know which one is best suitable for web development. I search out many portals saying that WPF is good for window forms and Silverlight for web. I also tested my WPF web app on different browsers and faced thousands of browser plugins issues except IE browser. As I come to know Silverlight is sub party of WPF which means SL has less features as compare to WPF. Now I want to figure out which practice is best suitable for web development and why?????
Thanks in advance
Silverlight is being discontinued, so don't use it for anything important. Use WPF if you want that kind of display tech, or Metro w/C# or Javascript
Related
I am new to .NET so I have a basic question to ask, is there a way to add Windows Forms application to my web page, as creating forms was easy and I created my app in the form format now I want to add them to asp.net page.
It's a different thing, but you might want to look into the silverlight out-of-browser technology.
http://www.silverlight.net/learn/overview/out-of-browser-applications/out-of-browser-applications-(silverlight-quickstart)
Spend good time on w3schools.com learning about <form> tags..
then gradually move on towards processing data at backend using C#
a good starting point can be http://www.deitel.com/articles/csharp_tutorials/20060128/index.html
Long way to go..first get your basics right!!
If you have basic knowledge of html, then you can learn the basics of asp.net too. Then you can easily create a web form which exactly matches your windows forms. But always keep it in mind, webforms are not as flexible as windows forms.
well... there are something you can do that is similar.
You can add your windows-form to an BHO and install it in you webBrowser as an ActiveX object (for a IE) or extension (in other browsers), and then share it to everyone you want. Then your win-form application can start and interact with your web-page.
You can start looking here: http://msdn.microsoft.com/en-us/library/bb250436(v=vs.85).aspx
hope it help.
Windows form cannot be added in a web form. They altogether are a different technology. You can add link in your web app for downloading Windows app.
I have a WPF/C# application.
It contains some .XAML pages.
i would like to integrate this application into my ASP.NET/C# web application.
I want the application to show in an asp.net page.
What is the best way to do this?
I heard that I can use Silverlight.
I never worked with silverlight before. Can I do it without knowing silverlight or should I have a knowledge in silverlight before doing it?
Any help is greatly appreciated.
Thank you very much
You can either deploy your WPF application as an XBAP or migrate it to Silverlight. I'd recommend the latter because you'll get better browser/os support.
Just create a new Silverlight project and copy your xaml files into it. Probably, everything will be compatible since both frameworks have a lot in common. Silverlight is a bit more restrictive since it's a web framework, but it also has other features that WPF doesn't. If you find something that's not compatible, just search for an alternative here.
I am going to start a new (Right-To-Left) WPF project and the Main reason is to provide a single UI for the application in Windows and Web.
What Should I consider?
Which WPF Controls should/shouln't (can/can't) I use?
Do I Have to Use Silverlight? (I'm not interest)
Should I use XBAP project orWindows Project with Page base modules?
TIA
Your choices are indeed XBAP (WPF Browser App) and SilverLight.
You can easily google to find lots of comparisons, here is a short and simple one.
You main decision factor is your target audience. Do you want to support the Apple platform and maybe even Linux? Then use SilverLight.
If you're sure you only have Windows clients (Web and Desktop) you could use the more powerful WPF. But do write the WBA first so you don't run into permission issues later.
Well it's kind of a newbie question but I think lots of people have problems with this.
I'm developing Windows/web application for fun, and installing them at friends' places. Most of my developing concentrates on the CRM system, but I have a big problem with showing data from DB in better, more effective and lighter ways.
Using Microsoft built-in web controls is a nice and easy way, but it doesn't answer my needs, and worse, it's not that effective as other web controls in great software and websites(Google(lol)).
I want to build my own controls(GridView, etc...). So my question is how can I do this myself?
How does Microsoft build their web controls for both web and Windows Form developing?
Thanks!
Amit
Here's the starting place for learning about creating your own web controls.
http://msdn.microsoft.com/en-us/library/bb386565.aspx
And here's an older reference, but probably a better place to start.
http://msdn.microsoft.com/en-us/library/aa710843(VS.71).aspx
And finally.... If you want to develop custom controls for Windows Forms applications...
http://msdn.microsoft.com/en-us/library/6hws6h2t.aspx
Well, this can be answered several ways. Most of the nice controls are doing a lot of Javascript that is not obvious unless you look at the output. You might be interested in using JQuery plugins (or "controls"). Also, to be honest, you might be interested in persuing a new way of doing ASP.NET, which is called ASP.NET MVC. This is a very good way forward of building Web applications that utilize a lot of Web standard technologies without hiding and obscuring the details. Here's a link to that:
http://www.asp.net/mvc/
I'm going to develop a web application based on mathematics. It's going to provide stuff like canvas' showing graphs (quadratics etc.) and also provide an exercise area to test knowledge.
I am stuck as to which route to take. I haven't developed a Web Application before and I am most confident working in C# applications. I would prefer to use C# when creating this but I don't know if that is really appropriate.
I have the following routes that I could go down:
Silverlight - I haven't used this before but it seems to be the most obvious solution to me. I was wondering how hard it will be to develop an understanding of silverlight (xaml etc.)
Java, I haven't any idea about java, but I've heard it has a lot of similarities to C#.
Tclets, my university tutor said he has worked with this before and it's easier to get on the web, and very handy for gui's.
I thought I'd ask this here to get everyones opinion on which path to take, and sum up all the positives and negatives of each route.
Thanks in advance.
If you decide to go the Silverlight route the Silverlight Toolkit has some good graphing samples : Silverlight Toolkit Control Samples - which is itself a Silverlight application.
Using Silverlight is probably the closest you can get to writing a desktop application for the web. The UI is specified in XAML with the application layer in C#. The whole application sits within the Silverlight control and you can generate the menus and other navigation items you need.
It complies to a XAP file which you deploy and then reference from either an HTML page or ASP page.
If you are most comfortable with C# then I would advise developing it in ASP.NET. Heres a starting point: Creating ASP.NET Web Applications
I really can't speak to Java or Tclets but Silverlight will offer you a familiar programming model if you are most comfortable in C#. XAML requires a bit of a learning curve if you don't have any experience with it. You don't have to go 100% Silverlight though - it could be a hybrid HTML (ASP.NET) and Silverlight solution - where Silverlight could primarily be used for the graphing/charting. You could use HTML or a more sophisticated ASP.NET site for the remainder of the content.