Visual studio 2013 - how to show rss news on start page? - rss

How to enable rss news feed on the home page visual studio 2013? Since it was in visual studio 2012.

The option to customize the news channel of VS Start Page has been removed.
To do so you will have to create a new page using the VS SDK : http://msdn.microsoft.com/en-us/library/ee663382.aspx
You can also edit the in links.XML file. (into you Common7\IDE\StartPages\en\ folder).

According to the MSDN documentation, the procedure is similar to VS2012:
Go to the Startup options page (Tools / Options, Environment, Startup,
or type startup in the Quick Launch window). To change what is
displayed at startup, choose one of the options in the At startup
drop-down list. To change the RSS feed, change the URL in the Start
page news channel box.
The default settings in VS2012 are as follows so copy these to VS2013 settings:

Related

Where do I place additional form controls in my visual studio ASP.net webform project

I am trying to add an additional combo box form control to my ASP.net web form in visual studio 2010.
Where should I place an unzipped folder containing a control? how do I add the new control to my 'tools'
Really appreciated, this is driving me nuts
Dan
Some of this is down to personal preference.
I like to have a folder outside of my projects where toolbox items can go so : c:\VS2015Tools\
As for adding the items, you can right click on the toolbox and select "choose items"
You can then browse to the DLL that you have unzipped by clicking on the "browse" button
If you have a project with the source for the server control, include the project in your solution and it should automatically be picked up and added to the toolbox (Though Ive found this to be hit or miss as to whether it works)
Hope that helps, sorry its not very detailed.

.ASPX pages markups are opening in web browser

When I double click on .aspx pages in my web application project in VS2010, instead of showing the mark up in the ide the .aspx pages are opening in the web browser as shown below. The same is happening when I run my application it opens all the .aspx pages in the web browser along the application url i.e., http://localhost123456/default.aspx. I have to close all the other pages except the http://localhost123456/default.aspx to run/ test my application. Not sure what would cause this to happen. I am not able to find any solutions so far, any help is appreciated. I used the option View Markup (Rightclick on aspx page -> view Markup) to see the markup for now.
Update
As per Mike's answer I checked the options under Open with... and I do have a Internet Explorer (Default) set as shown in the following image. Not sure how did it got there.
Deleting the Internet Explorer (Default) option might be cumbersome if I have lot of .aspx pages , if there is a way to remove this option at once for all .aspx pages rather than right clicking on each and every .aspx and remove it that would be great.
As per #JB King suggestion I did checked the file properties and all the .aspx files are set with Opens with: Microsoft Visual Studio option as shown it the image below.
Right-click any .aspx file in the project, select Open With...
In the screen that pops up, select Web Form Editor, then click the Set as Default button.
Not sure how you got Internet Explorer as an option here, but if it is there, you can just delete it. It's not applicable for loading the aspx from disk. Rather, to see the rendered page in IE, you'd do View in Browser or Browse With... (in which you can set your default browser, as well).
Your address bar shows you're loading files directly from disk. This won't work. ASP.NET is not lilke static HTML. ASP.NET applications must be run from within a webserver. Install IIS and ensure ASP.NET is installed and configured, or use the Debugging Webserver (IIS Express) in Visual Studio.
If you look at the properties of the file, there should be a line of Opens with: that is where you want to have Visual Studio rather than Internet Explorer as the issue is with which programs are mapped to what file extension. Microsoft instructions if you want those as specific steps to do.

How to resolve "This content cannot be displayed in a frame" error - CRM 2013 + Sharepoint 2013?

I am trying to display/embed a Power View report from Sharepoint 2013 'document library' into CRM 2013 dashboard.
CRM 2013 - On Premise, Sharepoint 2013 - On Premise.
Below are the steps I followed:
Developed a sample Power View report in Excel 2013 using CRM OData Feed
Uploaded the Power View report (.xlsx) to Sharepoint 2013 Document Library
In CRM, created a System Dashboard and added an IFrame.
Copied the Power View report URL and appended "&action=embedview" to the query string.
Updated the string above into the CRM Dashboard IFrame URL property. Un-ticked the 'Restrict cross-frame scripting ' check box. Saved and Published the dashboard.
(as suggested in - Embedding Power View reports in CRM 2013 , PowerView reports in CRM)
Opening the dashboard in CRM displays 'This content cannot be displayed in a frame' error.
What I have tried so far :
Changing IE settings based on -- article
I've seen this one too -- IFraming Sharepoint hosted apps but couldn't to understand what needs to be done. When I tried opening my 'document library' using 'Open in Explorer' and changed the /Forms/AllItems.aspx to include the tag below, it broke the document library.
<WebPartPages:AllowFraming runat="server" />
Please assist.
A colleague helped me resolve this issue.
The resolution is installing a "PermissiveXFrameHeader" sharepoint solution and enabling the feature for my sharepoint web app. Please refer to this article Sharepoint:Rendering inside iframes
I had to create an outbound rule in IIS for the SharePoint app holding the documents. These are the fields I used in creating the outbound rule:
Name
Any name you want, I used set x-frame-options
Match
Matching scope: Server Variable
Variable name: RESPONSE_X-FRAME-OPTIONS
Pattern: .*
Action type:
Rewrite Action properties Value: (LEAVE BLANK)
(CHECK) Replace existing server variable value
Then I just applied the rule. It's working for me at present. Let me know if it works for you.

Is it possible to default to 'main view' of the SDL Tridion 2011 CME instead of the dashboard?

SDL Tridion 2011 introduced the new dashboard (or control panel) in the CME. Under User Preferences > View Settings on that page, it is possible for a user to change their start-up view to load the main view rather than the dashboard. Is it possible to set this as a system wide setting for all users?
We are interested in doing this because we have a default custom page that we want our editors to see, but this page is no longer loaded due to the dashboard being loaded by default.
We can do this in per-user settings:
Set: Screen Displayed after starting SDL Tridion to Main View
Leave Start on specific folder unselected.
Right-click one a custom page and set it to default.
This user will now open Tridion on that default custom page.
However, I've seen organizations want to set this for all users without having to do it manually. I've been able to do so on my personal VM but can NOT recommend it for a production environment:
In %TRIDION_HOME%\web\WebUI\Editors\CME\Configuration\CME.config, set the following to an existing custom page URI.
<settings>
<defaultpage>/Views/Dashboard/Dashboard.aspx#locationId=cme:0-1-custompg</defaultpage>
<navigatorurl>/Views/Dashboard/Dashboard.aspx#locationId=cme:0-1-custompg</navigatorurl>
...
</settings>
So yes, it's possible to force a default for at least this version of SDL Tridion. But I'm not sure of a supported way.

Change the initial url of the debugger in visual studio 2008 [ASP.NET MVC]

I was wondering if there is an option to change the debugger url when I initialize the debugger. I want it to start off at http://localhost:xxxx/controller/view rather than just http://localhost:xxxx/.
To answer my own question it can be done like so:
Go to your project right click Properties then go to Web then change the Start Action's Start Url to http://{port}/{controller}/{view} then click the radio button Use Visual Studio Development Server and click radio button Specific Port to the port in your Start Url and leave Virtual Path to "/"
Using Visual Studio? I think you can change the default page to /Controller/View in properties window... I'm not sure if designer will let you (because it doesn't map to a file), but you may then be able to edit the project file directly to inject it...
Sometimes it removes the /controller/view for the default controller.

Resources