Silverlight Application mapping on local - c#

I am new to Sliverlight and using Visual Studio 2015 Enterprise and have Mapped a Silverlight Application on local containing the client and the server part from TFS (like project and project.web), but after adding all the references with the warning signs , still my solution has a lot of reference errors like resource wrapper doesn't exist, Webcontext is not found, model folder of the web (server) section is not getting detected, and so on and i am unable to build. The web part is successfully building separately though. Please Help!
P.S : I have installed Silverlight 5,RIA Services services V1.0 SP 2,target .Net framework is 4.

Related

Can't add Azure CloudService Project to existing solution

Goal: Convert an existing MVC application running on Azure AppServices to run on Azure CloudService. (need to add a library that needs this)
Problem: Error message (below) and the CloudService role appears non-functional
Visual Studio 2017 (15.2 (26430.6))
Actions:
Added new Cloud Services project to the existing solution
Did not add any roles
OK (project created without error)
Added a Role to the CloudService project
"WebRole in project"
Selected the MVC application that already existed in the project
Press OK, error occurs
Note, the project described in the error is the MVC project (not the CloudServices one), so we also removed the NuGet reference and retried with the same result.
Error (retyped):
Microsoft Azure Tools for Microsoft Visual Studio
The following NuGet packages could not be installed in project XXXXXXXXX:
WindowsAzure.Storage (version ‘(unknown)’): Value cannot be null. Parameter name: path1
Ideas?
I found the problem here...stinky error message
The problem was that the Azure SDK was not installed correctly. Modified the installation to include the Azure workload and this fixed the problem.
The Convert to Azure Cloud Services became available and that seems to have worked.
There was no message that the workload was not installed, perhaps because the machine had a version of the Azure SDK installed from previous work in VS 2015. Dunno.

Microsoft.Lync.Model assembly not found on Asp.Net application

I am writing an ASP.Net application which uses the Lync client API to get user availability state from Lync.
Now I get a strange error when calling the Lync api methods:
"The file or assembly 'Microsoft.Lync.Model [...] not found".
But I have referenced the Lync client api in the correct version.
What do I have to change to make this working?
The Lync client api may not be an ideal fit for an ASP .Net application but that depends which of the 2 you are using.
There is one for desktop applications and one for Silverlight applications, see https://msdn.microsoft.com/en-us/library/office/jj933180.aspx for more details.
Regardless of which version you are using you will need the Lync client installed on that machine. To be explicit if you are using the api on the server as I suspect then the server will need the Lync Client installed there.
It's also worth noting that there is a web api for lync https://msdn.microsoft.com/en-us/library/office/dn962133(v=office.16).aspx
You can find here exact instruction
https://msdn.microsoft.com/en-us/library/office/hh378548%28v=office.14%29.aspx
Microsoft.Lync.Model.dll is not added to the global assembly cache on your computer during Microsoft Lync SDK installation. Instead, you must navigate to the install location of these files and select them for inclusion in your project references.
nothing more then this, if you sill have a problem maybe it's a good thing to create new application project in Visual Studio.
Hope it help.

Error when adding a Service Reference for a Web Service

I am in a .NET programming class and am creating a simple web service and a console tester to work with it. I am using C#, the IBM .Net data provider (have also tried it with the OLE DB data provider) - both data providers can successfully access and retrieve/update data from the server, and the .NET Framework 3.5.
The web service works, the console tester works (in it's current state), but when I try to add the service reference to link the two together I am getting the following error:
Method not found: '?'.
Metadata contains a reference that cannot be resolved: 'httppp://localhost:64302/WebServiceV2/Service.asmx'.
Metadata contains a reference that cannot be resolved: 'httppp://localhost:64302/WebServiceV2/Service.asmx'.
If the service is defined in the current solution, try building the solution and adding the service reference again.
VS 2010 is able to discover the reference, but when I try to expand the webservice.asmx file or if I press OK, I get this error.
I am running VS 2010 Pro SP1 on a Windows 7 machine (64 bit), on a PC that I use for work.
I have tried to "repair" VS 2010 and I have uninstalled/re-installed it but cannot get around this error. As mentioned I have installed SP1. Also I have installed the "CU3" update, which from what I can tell is a "cumulative" update for VS 2010.
I have discussed this error with my class instructor, fellow co-workers, and the CTO of my company. None of these people have experienced this nor can they duplicate this error with VS 2010 and are at a loss to explain it. This leads me to believe that VS 2010 is okay but there might be something else on my PC that is causing this error - or perhaps I might be missing a key update of some sort. My next approach will be to install this on my home PC (Windows 7 as well) to see if I get different results.

WCF Data Services is not installed for this target framework. (Set up of WCF Console Application Client)

I am currently trying to set up a WCF Data Service Client using Visual Studio 2013 Desktop. The following guide shows how to set it up as a console application, but every-single-time I try to add a Service Reference VS says:
Unable to add a service reference to the specified OData feed because
WCF Data Services is not installed for this target framework. To install
a supported version of WCF Data Services, see
http://go.microsoft.com/fwlink/?LinkId=253653.
Is there something I am missing or is it even possible? I've added and tried multiple different different References for the WCF data to no avail. Suggestions?
Though op question has been resolved, I am adding this answer so that it can help any other with the same problem.
The solution is to to download and install WCF Data Service RTM Tools as suggested in link provided by Microsoft in error itself.
More more details refer:
http://www.microsoft.com/en-us/download/details.aspx?id=39373
http://msdn.microsoft.com/en-us/jj658961

How to create a setup for a web application with Web Platform Installer

I have a large Web Application ( ErPwith 11 subsystem) and I want tocreate a setup for itwith Microsoft WebPI.
Currently We send our application for customers once a week (for weekly updates).
We usefollowing tools in this application, So How to create a setup for out project toconfigure it in client IIS automatically
List item
.netFramework 3.5
SQL server 2008
Asp.net
C#
NHibernate
Log4net
castleProxy
SQL Server Reporting Services (RDL)
Visual Studio Client Reports (RDLC)
Javascript
JQuery
As far as I understand, you want to create a Web Deploy package of your application and a custom Web PI feed that will include this package into Web PI.
Here is a reference on how to build a Web Application package. You will be able to automate this step using Web Deploy command line:
Reference for the Web Application Package
One more reference is to a blog that has a sample feed that will include your application to Web PI through a cusotm feed. You will be able to automate this step by creating a custom feed and then just replacing the hash in the feed whenever a new package becomes available:
Web PI Extensibility: Custom Feeds – Installing Custom Applications

Categories

Resources