i just want to make one chatting enabled web site that all users can chat with each other. how ever i just found SignalIR was useful for that. but hoe ever how it integrate with asp.net 3.5. how ever i think it's only works with framework 4.0. is that other alternative that gives me SignalIR feature.
Related
I want to use SignalR in my project for real time chart updates.
My project is developed in WebForms with VB.Net Language.
I searched for for 3,4 days but all I found were MVC examples. Can anyone suggest a solution?
Please notice me. Thank you
You can use SignalR with webforms, see this question for example :
Can SignalR be used with asp.net WebForms?
However, it will require to make your current webforms project evolve in several ways, which can be a loss of time and a risk if it's an old project hard to maintain.
An alternative could be to create a completely new web project for the backend with everything required for a clean support of SignalR server, and to consume it in JS (using jquery.signalr, etc) from your currently existing webforms pages on client side.
The ability to achieve this kind of thing will depend of what version of .Net and SignalR you could/must support.
I am relatively new to development so please correct me when digressing.
I have Flex 4.6 web application as front end for an application and a SQL Server 2008 R2 as the database on an IIS server. Currently it needs to be used over LAN but has to have the capability to be transferred over the Web.
I needs a solution for the Flex web application to connect to the DB without making direct calls from the clients. To avoid that I thought of putting in a interface using the either SOAP or Web API using ASP.NET. Problem is MVC though a solid architecture is too complex for my needs and a lot of work in case of modifications.
My question is; is Web API dependent on the usage of MVC for it to be implemented or can plain ASP.NET work?
If it does work on ASP.NET; do I still need to create models and controllers in the plain ASP.NET project?
If I decide for an authentication, what approaches are available that I can look into that will be efficient?
Any other solutions or suggestions are welcome.
ASP.NET Web API doesn't depend on ASP.NET MVC. To be more accurate, it doesn't even depend on System.Web. Have a look:
ASP.NET Web API does not Sit on Top of ASP.NET MVC! In Fact, It does not Sit on Top of Anything
I'm currently developing a web application that will use Facebook as a authentication service. Does it make sense to implement it as an ASP.NET Forms Authentication custom membership provider? While I made my research, I didn't come across any concrete significant advantage of using the Forms Authentication. However, it instinctively seems to me as a good thing to do, because aside from creating a completely custom implementation of authentication using Facebook, I didn't find any extensibility point inside ASP.NET where I could plug in the Facebook auth behavior.
Can you then tell me whether the Forms Authentication is a good idea or not. And if not, is there any other way than completely custom code (I'd like to avoid managing the session cookies, loading the current user, etc. manually).
I'm using ASP.NET MVC 3, Entity Framework and I'd like to avoid the Facebook C# SDK (the extensive use of dynamic types is a bit of a turnoff for me :-) ).
Thanks for any advice.
A simple answer is to use .NET 4.5 oAuth templates, they are incredibly easy to link Facebook up to forms authentication.
http://www.asp.net/vnext/overview/videos/oauth-in-the-default-aspnet-45-templates
However you may struggle to find a decent server if you are planning on releasing immediately. In a couple of months plenty of servers will support .NET 4.5.
The OAuth templates work for both v4.0 and v4.5 so you can publish them onto a server today itself :)
I have built several ASP.NET web applications in the past but have always struggled to get the application's basic structure in place. Building a framework using a combination of Silverlight/RIA services (or LightSwitch) is quite easy, but this makes your application not accessible through browsers that do not support Silverlight.
Is there any ASP.NET application framework with an HTML UI that provides the basic services that lightswitch provides?
By basic services I mean:
User Management
Themes
Standard way of displaying/editing basic records and master/detail records
see:
Integrating Visual Studio LightSwitch Application Into An Existing Website using IFrames
Check out http://www.evolutility.org/ or http://www.rapidwebdev.org/, both are opensource.
I have been building a Web Application (ASP.NET, .NET Framework 4, VB, visual studio 2010). To be very brief the application interacts with a database and performs several actions (Insert Delete Select etc..).
I am using several Gridviews, ListBoxes etc and I am not happy with the presentation outcome and the functionality provided by asp.net. In simple words my application looks bad, outdated and unprofessional.
I figured that using Windows Forms that will be incorporated to the ASP app would be a great improvement and solve all of my problems.
I have created a Windows Form Control Library to use the dll created in my app as a user control. I found out that this is not supported in .NET Framework 4 (is this true? or am i doing something wrong?).
Is there any way to make my application have the 'look and feel' of a windows application?
Please note that it is has to be a web app and the clients should not have to download any other application to interact with the server.
Have you checked out the third party controls from other vendors?
I currently use them for rapid development.
http://www.telerik.com/
http://www.infragistics.com/
http://www.devexpress.com/
Anyhow all controls in .net you can change there look and feel using plain CSS.
Try using Silverlight 4, it has all that you need. What u are trying to do is traditional ASP.NET and that's as good as it can get coz its all server side code, but with Silverlight things are totally different, its all client side with specific server interactions. Have a look at the tutorials about how to use Silverlight and WCF RIA services to do what you are trying to do.
Try this link: WCF RIA services and Silverlight
Edit: Silverlight is designed to create stunning web GUIs. Just in case you were wondering what the heck it is.. :)