I am thinking to rewrite a WPF app on Uno Platform.
Is there a way to consume WCF data service inside a Uno Platform project?
Do I add a service reference? (Where would I implement that?) or there are other ways?
you can try to add .Net Standard 2.0 project to your Uno platform solution and Add your WCF service reference to this (.Net Standard 2.0) project. After this, you can reference this (.Net Standard 2.0) project to your all other uno platform projects i.e. UWP, Andi, IOS, WASM, and others. Your WCF service available to all uno platform projects
Related
I am trying add connected services to generate the proxy class and got this error.
Creating WCF Service proxy class
You can try to use dotnet-svcutil tool. The Windows Communication Foundation (WCF) dotnet-svcutil tool is a .NET tool that retrieves metadata from a web service on a network location or from a WSDL file, and generates a WCF class containing client proxy methods that access the web service operations.
Similar to the Service Model Metadata - svcutil tool for .NET Framework projects, the dotnet-svcutil is a command-line tool for generating a web service reference compatible with .NET Core and .NET Standard projects.
For more information about "WCF dotnet-svcutil tool for .NET Core", you can refer to this link.
I have a service fabric stateless service which I am running inside my cluster within azure
At the moment the service in question only has 1 instance
I would like to be able to access data in the service via web api
How can I do this with .net standard not .net core?
There are a lot of links for creating web apis but they seem to be either Old or they refer to .net core
Some also give instructions for adding via visual studio which now doesn’t appear to be available within visual studio 2017
Paul
ASP.Net Core is only compatible with .Net Framework and .Net Core. Not .Net Standard unfortunately.
ASP.NET Core is a new open-source and cross-platform framework for
building modern cloud based internet connected applications, such as
web apps, IoT apps and mobile backends. ASP.NET Core apps can run on
.NET Core or on the full .NET Framework. It was architected to provide
an optimized development framework for apps that are deployed to the
cloud or run on-premises. It consists of modular components with
minimal overhead, so you retain flexibility while constructing your
solutions. You can develop and run your ASP.NET Core apps
cross-platform on Windows, Mac and Linux. Learn more about ASP.NET
Core.
https://github.com/aspnet/Home
I came across with this situation. I have one already developed Application in 2.0, Now in this application i want to use one WCF Service that is developed in 4.0. How can i do this?
I tried the following
1. Regular Method Add the Service Reference and then use that. It didn't work for me.
2. I googled it and i got one more method, using svcutil.exe, but i dont have svcutil.exe with 2.0.
Waiting for the response.
Thanks in advance.
Windows Communication Foundation (WCF) was first introduced to the .NET Framework as part of .NET 3.0. It's not available with .NET 2.0.
If the WCF service exposes a SOAP endpoint then you may be able to use it through the Web Service Extensions (WSE) that were published for old versions of Visual Studio. See here: http://www.microsoft.com/download/en/details.aspx?id=10854 for details.
If you want to use a service written in .Net 4 with a .Net 2.0 project, you should be able to use basic http binding. That should allow it to interop with a client that knows nothing about WCF. It's similar to using an old school .asmx web service.
is it possible for a .net 3.5 application to communicate smoothly with .net 4.0 routing wcf service?
should i get in to any problems when trying to perform this operation?
can i work with the simple channel factory?
Depends what you mean by communicate.
The application will be able to call the service over WCF.
It will not be able to call the dll directly, the dll runs in an application pool and the application pool is tied to a specific version of the framework.
**
Hi all,
I develop a wcf service which works in several pc connected with a network, i want to to make all clients connect to the server through internet, how can it be done?
thanks in advance.
**
Visual Studio -> File -> New Project -> Web -> ASP.NET Web application
After you create the Project, add a Web Service (WCF)
If you need some help in setting up RESTful web services using WCF the WCF-REST starter kit (http://www.asp.net/downloads/starter-kits/wcf-rest/) might help.
The WCF REST Starter Kit is a set of
.Net Framework classes and Visual
Studio features and templates that
enable users to create and access
REST-style Windows Communication
Foundation (WCF) services. These
services are based on the WCF web
programming model available in .Net
3.5 SP1. The starter kit also contains the full source code for all features,
detailed code samples, and unit tests.