get federationmetadata xml from visual studio 2013 - visual-studio-2013

I'm new to MVC5, VS 2013 and ADFS.
Trying to connect a my app to a ADFS service.
I Have received the metadata document from ADFS but now they want the federationsmetadata XML from me.
They say that VS2013 should produce one.
I have no idea how to find it.
Any ideas?

Alternative to Identity and access tool for 2013 is EmbeddedSTS from Thinktecture.
Visit http://brockallen.com/2013/10/22/announcing-thinktecture-embeddedsts-a-simple-local-sts-for-asp-net-applications/

Vittorio Bertocci (the Microsoft identity guru) has a pretty well hidden blog post walking you through connecting to ADFS with a VS2013 ASP.NET Web App.
Basically you set it up manually and do away with the whole FederationMetadata.xml side of things - which is fine by me!

Related

Default ASP.NET Core MVC project won't run

I created a new ASP.NET Core MVC project with Visual Studio 2019, using the built in default template. I simply ran the project by clicking the green 'play' arrow where it says "IIS Express" (or by pressing F5). I haven't modified anything, yet when my browser opens up (in this case, Microsoft Edge) I get this:
Can’t connect securely to this page
This might be because the site uses outdated or unsafe TLS security settings. If this keeps happening, try contacting the website’s owner.
Your TLS security settings aren’t set to the defaults, which could also be causing this error.
I've opened a 'ticket' with Microsoft, but haven't heard anything yet. It may be that there is an issue with my IIS Express installation, but I'm not sure how to figure that out. I normally prefer to run my ASP.NET MVC local development from my local IIS, but it seems that IIS Express is the default way for Core MVC.
I modified my install of Visual Studio 2019 by removing all the web (ASP.NET) components, and then modified it again by adding them. After this, the default ASP.NET Core project does indeed work and debug with IIS Express.
I don't know how my install became corrupted, but it must have been from one of the numerous Visual Studio updates that seem to be released every few days.

ASP.Net applications with no authentication won't run on IIS Express

I'm using Visual Studio Community 2015 to create an MVC application. I previously created one that used Windows Authentication, and in setting IIS Express 10 up for that, it seems to have stopped any sites with no authentication loading up. Instead I get the following error:
HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.
I've Googled this error, and everything that comes back is for IIS, rather than the express version, which gives you very little in the way of managing it. I've looked in the configuration files in IIS Express and in my user folder for IIS Express, and anonymous authentication is enabled, so I'm really not sure what to do.
I've even tried re-installing IIS Express 10 to no avail, so any help would be appreciated, as I can't run a lot of MVC applications on my local machine at the moment.
I actually ended up solving this myself by finding an answer from an unrelated problem. The anonymous authentication of the project itself was set to false. By enabling that in the properties window (which by default wasn't shown) the application ran again. So the answer to this is check that property is set correctly. I will try Jexus Manager too in the future, as it looks like the console that IIS Express is missing.

Team Web Access Test Case Details

One of my users noticed something weird with the TFS 2012 Team Web Access. She enters the Test Case work item using Test Manager.
One of the steps is multi-lined.
Saved fine on TM.
However, everyone sees the HTML encoding on Team Web Access.
Is there a fix for this or is this the default behaviour?
This is the TFS 2010 web access. You should use the 2012 version and this won't be a problem any more.

WCF Restful services in VS 2010?

Does anyone know of a good screencast, walkthrough or tutorial for creating WCF Restful services in VS 2010?
I found the starter kit, but this appears to be for .net 3.5 / VS 2008.??
Then i found via the extension gallery a WCF Restful services template for VS 2010... THis appears to be what i need, but i have no idea of where to start with it..
I would appreciate any feedback anyone has
This is what helped me get started
Endpoint.TV on Channel9 just had a new entry by Ron Jacobs showing The Canonical REST Service - pretty good stuff.
Most of the contents and topics covered in the Channel9 screen cast series (by Endpoint.TV) on WCF REST is still valid even for WCF 4 with VS 2010:

Connecting to Team Foundation Server (TFS) with proxy authentication

Yesterday I created a new project in Codeplex. I created a connection from Visual Studio to the TFS server I was assigned and uploaded my solution successfully. Today I'm trying to connect again to the Codeplex TFS server to work on the solution. When I try to open it, I get the error:
Team Foundation Server
https://tfs06.codeplex.com/ does not
exist or is not accessible at this
time.
The remote server returned an error:
(407) Proxy Authentication Required.
The corporate environment I'm using does use proxy authentication but this wasn't an issue yesterday. Any ideas on why it worked then and how to make it work now?
Do you want to try refreshing the start page in Visual Studio (View, Other Windows, Start Page)? Sounds bizarre but the following forum post suggest that this might work...
http://social.msdn.microsoft.com/Forums/en-US/tfssetup/thread/c46afd34-09ea-4505-a34e-b378cb35138d
Visiting the Start Page (under View, Other Windows, Start Page) as recommended by Martin seems to reset the proxy authentication in some way.
An authentication prompt will then appear by going to Tools, Connect to Team Foundation Server, and selecting the server from the dropdown. Going to File, Source Control, Go Online then reconnects the solution.

Resources