|
It looks like it's part of one of the Windows SDKs - either 8 or 10 should do.
Windows 10 SDK - Windows app development[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
i have developed a web site with asp.net webform. i hosted the site my pc local iis. when i browser the site the url appear in my browser address bar looks like http://localhost:8800/gb/default.aspx
now my default.aspx page has many hyperlinks and those links look likes
http://localhost:53741/
http://localhost:53741/About.aspx
http://localhost:53741/Contact.aspx
now i want to attach country code taken from browser address bar url with all the links in default.aspx page. so after attaching the new url will be looking like
http://localhost:53741/gb
http://localhost:53741/gb/About.aspx
http://localhost:53741/gb/Contact.aspx
so i test a outbound rule to attach country code with all the links in my default.aspx page.
my outbound rule look like....a screen shot attached.
screen shot 1
enter image description here[^]
screen shot 2
enter image description here[^]
screen shot 3
enter image description here[^]
after implementing my outbound rule when i am browsing my site then getting error due to outbound rule. i am weak in iis rewrite rule. may some where i made mistake but could not figure out my mistake. so please some one help me to fix this issue.
again i am telling what i am trying to do. when i am browsing my site then my address bar url look like http://localhost:8800/gb/default.aspx in this url there is a country code that is gb.
the country code i need to take from there with outbound rule and attach that country code with all the hyperlinks in default.aspx page. so my all hyperlinks in default.aspx page will be looking like below example.
http://localhost:53741/gb
http://localhost:53741/gb/About.aspx
http://localhost:53741/gb/Contact.aspx
this iis rewrite rule i tried
<outboundRules>
<rule name="add outbound rule" preCondition="Ishtml" enabled="true" stopProcessing="true">
<match filterByTags="A" pattern="([a-z]{2}/(.*))" negate="true" />
<action type="Rewrite" value="gb/{R:2}" />
</rule>
<preConditions>
<preCondition name="Ishtml">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="text/html" />
</preCondition>
</preConditions>
</outboundRules>
after applying the above rule i am getting error and error as follows
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The content in the application file is not valid.
if still my objective not clear to anyone then please ask me. if anyone understand what i am trying to do then please help me to achieve my goal. thanks
|
|
|
|
|
|
just come to know from this site https://www.microsoft.com/en-us/learning/mcsd-web-apps-certification.aspx that MCSD Web Applications exam has 3 papers.
those are as follows
1) Programming in HTML5 with JavaScript and CSS3 480
2) Developing ASP.NET MVC Web Applications 486
3) Developing Microsoft Azure and Web Services 487
before giving the exam i need load of sample questions for the above 3 exams.
i need a web site which allow me to give test exam with sample question paper for 3 exams.
so please share some good resource by which i can prepare myself to pass mcsd exam.
i found this web site url but the website asking for money http://www.mindhub.com/microsoft-certification-practice-tests-and-study-guides-s/64.htm#/?_=1&filter.custom_field3=Practice%20labs&page=1
my financial condition is not good so i am looking free resource only to prepare myself for the above 3 exams.
looking for help. thanks
|
|
|
|
|
Microsoft provide study guides and links for all their certifications. Go back to the MSDN page and search from there.
|
|
|
|
|
Just learn the topics to an adequate level and you'll pass the test.
|
|
|
|
|
What i want, if the text is too long to fit as per the defined width, the text should be wrapped in next row. I don’t want to expand the column width to accommodate this text in one row. In other words, I want to wrap the text in next row if the text inside this columns exceeded the width of the column defined in gridview and reportviewer
|
|
|
|
|
|
Hi All,
I just tried put DataTable in my project. It look cool and robust. For quick result. I put this instruction into html file and it worked like charm. This is the screenshot.
Confidence with that html result, then, I created a new project in .Net Core and put those code into About/Contact template. What I remove html code to cshtml are head and body tag. But I got plain table like this screenshot.
What I tried to do debugged the javascript by using F12 Developer Tools and I found "Object doesn't support property or method 'DataTable.'"
Why this could happen in VS 2017 CE .net core 2 ? Meanwhile, it works well in html file.
I emphasize the link (css and js) just works fine in html.
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css">
<script src="https://code.jquery.com/jquery-1.12.4.min.js" type="text/javascript"></script>
<script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js" type="text/javascript" ></script>
<script>
$(document).ready(function() {
$('#example').DataTable();
} );
</script>
I also tried by using VS 2015 CE .net Core 1.1, it gave me the same result.
How to overcome this ? Please, advice....
Rgds,
modified 19-Nov-17 20:32pm.
|
|
|
|
|
You need to check the rendered output of the page that isn't working, to see what's gone wrong with the links.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I made a mistake by putting jQuery twice, in the top layout (_Layout) and the last layout.
|
|
|
|
|
i like to know how could we add culture or country code in url of asp.net webform project.
i search lot but found none such. i found few article they show how to set culture in code just render data from right resource file but none show how to add culture or country code in url.
i want when i will start my project then then url would look like http://localhost:port/gb or http://localhost:port/en-gb
and right country code or culture code will be added in other links in of the page.
there will be country flag when user click in germany flag then german country code or culture code will be added in url.
please advise me how to do it. it would be better if some one shared few article links which show how to add country code or culture code in url whose code i can download and run in my pc.
thanks
|
|
|
|
|
Hi,
I'd like to create a website based on a decision tree to help users in their choices. In my mind, I'd like a graph with boxes viewing all the possibilities (on the background webpage) and a lightbox showing the choosing step. After each choice, the graph will be updated to show the way and the lightbox is updated with the new question.
Is there an example here for this kind of request ? Or, where can I found a example to help me in this task please ?
|
|
|
|
|
|
|
I am using the WebBrowser Control and am running into problems with some web sites. I had to put the control into IE 11 emulation mode for the web sites that I visit. I notice that the auto complete doesn't work when I use the WebBrowser Control, but if I hit the web site with a normal web browser the functionality works fine. Is there a option for the WebBrowser Control to allow this functionality?
I am using the WebBrowser Control to log into web sites without the users knowing/sharing the password.
|
|
|
|
|
I think your over estimating the practical use of the control for your purpose.
I use it for scraping website content and data and pumping HTML into it for progress and status messages while scraping.
By the way, this topic is for ASP.net and your question belongs in VB or C# Questions
How to customize
WebBrowser Customization (Internet Explorer)
If it ain't broke don't fix it
|
|
|
|
|
|
Good day Friends! Please how can I add code tag in my asp.net app? I tried using INSTR function so that in return I change font style and colour but no luck. E.g <dcode>Private Sub...i used dcode instead of code so that codeproject won't treat it as code. Help please.
|
|
|
|
|
What?
Otekpo Emmanuel wrote: so that codeproject won't treat it as code Just paste it in and a popup will appear where you can pick code. Or, click the code tag in the toolbar of the editor.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
You are right
GobblesGobbles
Also we can tag
which automatically comes when you copy paste or write the code in code editor
|
|
|
|
|
Hi,
I am trying to use a string compare with a static string with a File name, the File name is very big like this: "BSC_gMax_BSC_gMax_PROD_20170721001923.xml_EXCEPTIONS_b77022d0-7176-469a-9e83-5182b59a0cba.xls" but I want all the 31 Alphabets irrespective of case from the file name to compare with the static string I have
For example I want to check the string which has 31 alphabets: BSCgMaxBSCgMaxPRODxmlEXCEPTIONS is satisfying with the File name, then return true. I can only use the regular expression though because its running dynamically.
I tried the following: "[a-zA-Z]{0,31}", "[a-z]+" and "[a-zA-Z]{0,31}$" none of them worked for me so far though, but any advice and suggestion going to be very very helpful. Please I can only use regular expression, I am also searching but if you are familiar it would be great help thanks in advance my friends.
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
Hi
I'm not the world's greatest expert in regex, but
[a-zA-Z]{1,31} will return all the matches you want - you can test it on regex.com[^].
After that, you need to concatenate them into a single string - this Stackoverflow[^] page may help you with that.
|
|
|
|
|
No need for a regular expression - you just need to extract the letters from the string.
With LINQ:
string input = "BSC_gMax_BSC_gMax_PROD_20170721001923.xml_EXCEPTIONS_b77022d0-7176-469a-9e83-5182b59a0cba.xls";
string output = new string(input.Where(char.IsLetter).Take(31).ToArray());
Without LINQ:
string input = "BSC_gMax_BSC_gMax_PROD_20170721001923.xml_EXCEPTIONS_b77022d0-7176-469a-9e83-5182b59a0cba.xls";
char[] buffer = new char[31];
int bufferIndex = 0;
foreach (char c in input)
{
if (char.IsLetter(c))
{
buffer[bufferIndex] = c;
bufferIndex++;
if (bufferIndex == 31)
{
break;
}
}
}
string output = new string(buffer, 0, bufferIndex);
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
In a C# 2010 web form application, I have found some JavaScript statements that will not allow the application to execute when I am using the Internet Explorer browser since some of the objects are obsolete/deprecated. However when I run the application using Firefox, I find that the application runs. I have also noted that some of the Javascript objects in the web form application may be deprecated in the future and to use these items with caution.
Thus if I deploy a new version of the current web form application and tell all users to only use Firefox in the next few weeks, I will create a static executable that everyone can use. Then when some of the objects are not allowed in Firefox, the application will still run since I have not changed the executable, correct?
Would I need create a new version of the application with the Javascript changes that are required?
If this is not true, would you let me know why and potentially what I should do to solve the issue?
|
|
|
|