silverlight and spring.net - silverlight

can i use both silverlight and spring.net in the same web based project

Silverlight is a client technology and spring.net is a server technology, as long as you aren't trying to implement a Silverlight client that is also a spring server, you should be able to do whatever you want with the two.

Related

How to secure database access in mvc web application

I am developing a web application in ASP.NET MVC, iOS and Android app using Xamarin that would have a common SQL Server database. I would want to develop a common layer/object that will have functions and methods common to all applications. I am also concerned about database security. I would want understand is there any other way in which this can be achieved.
I planning this roadmap :
I will develop web service or WCF services and host on a server, applications will communicate with these services and services will communicate with DB server.
If I develop web service or WCF service and host on a server, I want to prevent direct access and attack.
Which is better for my applications, web service or wcf service?
Masters please guide me.

Salesforce: Can we customize with .Net?

I am being asked to make some developments on salesforce. Is there anyway to do it using .Net instead of Apex?
It depends on exactly what you're trying to do, there are Web Services APIs you can call from .NET, but you can not run native .NET code on the salesforce servers.

wcf linq tutorial

Building a WPF XBAP based application, I need to access data in my hosted SQLServer DB (Shared hosting).
Therefore I need to create a WCF LINQ based service.
Anyone knows of a simple end-to-end tutorial demonstrating how to build the service and install it on the hosted webserver?
I've found several but either they are ASP.NET or Silverlight dedicated, either they are far from comprehensive...
Please do not answer with ASP.NET solutions... I need WPF.
Thanks in advance.
Consider using RIA Services for your scenario (calling the services from WPF rather than Silverlight).
See this StackOverflow question for references on how to call RIA Services from WPF: How to use WCF RIA SERVICES with WPF application?

How to communicate between Windows Form app and Web Site?

We developped an C# .Net 2.0 Windows Form application for Windows XP embedded that controls the underlying hardware/device. Now, we need to add a c# .NET 2.0 Web Site (hosting by IIS inside the same device) that can send commands to the Windows Form application (example: Start measuring) and receive data.
What is the best way to do it?
We thought about Web Service, but how the Windows Form application can know when the Web Service will receive a command from the Web Site.
Thank you.
Note: Forbidden to install on the device a Framework .NET 3.x or 4
Given this restriction on .Net 2.0, .net remoting is the way to go in this situation.
http://en.wikipedia.org/wiki/.NET_Remoting
Winform app can expose objects via remoting. Web app can send request to these objects. request would have commands.

Silverlight and Windows Workflow Foundation

Can I make a Silverlight application communicate with a Windows Workflow Foundation (WF) application? If yes, how can I do that?
I tried to add a reference from my Silverlight application to a WF application and it doesn't work.
If your application was a service application, then yes.
Silverlight won't host a workflow, but it could call a workflow service if the workflow you need to run is hosted within a service rather than an application.
It should be a matter of adding the service reference within the Silverlight application.

Resources