A Sensible Path To Becoming A C# And ASP.NET Guru?
Apr 4, 2011
I suppose this question is pretty subjective, but I think there is bound to be a path that most people consider sensible.I've been working with C# and ASP.NET for about 3 years, but I've only just started REALLY studying it. My goal is to become a guru in say... 5-10 years. What skills should I have? What should I make sure I have a full understanding of? What types of applications should I make to test myself? Are there any other languages that I should learn to increase my understanding/ability in C#?Additionally, is there a particular order to learn the skills in? Say, hypothetically:
View 4 Replies
Similar Messages:
Mar 5, 2010
I have convert code from C# to vb.net, I have done some type tweaks, but the code still does not work. I need code in vb.net.I have created a test project here: http://www.screencast.com/t/M2Y2MzVkZDIFile : 20MB (GeoIP data files is the reason for the size)Please run the project and run the test pages. Could you help me fix the code and please make NOTES ON YOUR CHANGES.I need the final result in vb.netThe code uses maxmind.com free GeoIP database to get country and city etc from an IPAddress.
View 3 Replies
Jul 21, 2010
Exsits any way to modify the temporary folder path returned by System.IO.Path.GetTempPath() method?
My asp.net application run under iis 7.
View 2 Replies
Oct 7, 2010
I have a code to open PDF file, like this
[Code]....
Over here I have created a folder with name Data inside my solution, so the Server.Mappath("Data") as well the statemet for converting assigning the src property of the IFrame I1 is working properly. But I want to use the files from a folder which resides in a network folder like
View 1 Replies
Jul 3, 2010
I am trying to upload a file Into a MapPath but I am getting a error 'C:/WebSite/userimages/' is a physical path, but a virtual path was expected. My code is:
[Code]....
View 6 Replies
Dec 20, 2010
I have a custom ASP.NET application that I utilize for several clients that I host. Each client has a separate domain and the application is normally a child application under the root domain [URL]. The application files are the same (aspx, ascx, style sheets, images, etc.). The only thing different is the web.config file for each client. As development of the application continues to evolve, I have to update the application for each directory and this obviously becoming tedious. I am trying to come up with a method keep the application up to date. My first though is placing the application into a single physical path and creating multiple applications pointing to that path (the problem with this method is I can't have different web.config files). I am curious as to what solution others are using in this scenario...
View 2 Replies
Apr 8, 2010
I am Final Year IT Engineering student. I am Doing Content Management System in ASP.net for my college. I have given link on my master page for various pages in the application; where I have specified only relative path of those pages. When I run this project and follow any link it works well for only first time and for second time when I click any link it .net run time environment unable to find the absolute address of that page.
View 2 Replies
Mar 29, 2011
When I press start on my VS2010/Silverlight/C# project, it opens a new instance of the included webserver and opens my browser window so I can test the application. Unfortunately something has happened and I am not sure what it was.. The browser window now opens the starting page with a local machine path (C:...page.aspx) rather than the normal webserver path through http (http://localhost:33592/page.aspx). It is a Silverlight Navigation project using c#/asp.net code behind.
View 2 Replies
Feb 14, 2010
I am trying to convert the virtual path to a physical path but don't seem to have Server.MapPath or HttpServerUtility.MapPath available in my handler. I add the System.Web namespace with no luck.
string virtualTargetFolder = String.Format("~/UserImages/{0}/Images/", user.ProviderUserKey.ToString());
string physicalTargetFolder = System.Web.HttpServerUtility.MapPath (virtualTargetFolder);
View 2 Replies
Feb 13, 2010
I had applied the following code as said by you :
byte[] b = YourByteArrayFromDb;
File.WriteAllBytes(MyFilePath, b);
But I am receiving an exception "Access to the path is denied". How do I solve this using ASP.Net with C#? And is there any format to set the path as string?
View 3 Replies
Dec 17, 2010
I was trying to use System.IO.Path.GetFullPath("Database.mdf") in the class "DAL" in a website im creating but instead of returning :
"F:MyProjectApp_DataDatabase.mdf"
It Returns "C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0\Database.mdf"
View 2 Replies
Jan 30, 2010
the syntax to convert a virtual path to a physical path.
I wanted to upload a file located in one server and i know only the website name.
View 3 Replies
Sep 15, 2010
I am using to send attachent from my host.. The file is located on my abc folder on my root, so it' like this:
root/abc/myfile.doc
Attachment attachFile =
new
Attachment(txtAttachmentPath.Text);
How can I assign the path in the above code?
View 1 Replies
Apr 4, 2010
I have this master page, that uses a few .js files and a flash animation.
the <script> and <object> tags that are used to embed these in the page take in relative paths as src. However, since the pages .aspx, i'll need to convert these into tilde paths, ie. somehow change the relative paths to tilde path (is this the absolute path?), so that i can use the master page in any of my pages in subfolders as well. if this question has been posted b4, kindly give me a link... i've not been able to find a solution.
View 3 Replies
Jun 9, 2010
When I write following code in my view
<% Url.Action("Logon") %>
the mvc framework generates
/Account/Logon ({controller}/{action})
as path.
'/Account/Logon' path is an absolute path. Is there a way to change is to a relative path, like Account/Logon or ../Account/Logon.
Also, when I use the Html.Beginform(), the mvc framework generates <form action="/account/logon"..., I want to change this to <form action="account/logon"...So, problem is that I want relative paths instead of absolute path.
View 6 Replies
Jan 21, 2011
I need to display an Image in web page. But the Image doesn't exist in the Web directory. If the image is under web directory I know that just "../Images/TN/my.jpg" will work. But the image is available in "D:ImagesTNmy.jpg" and My web site is deployed in "C:appsmywebsite". How do I convert the "D:ImagesTNmy.jpg" path to a relative path so that the Image will be visible in web page?
View 3 Replies
Oct 13, 2010
i am fetching image using webservice into dataset and displaying for that its to be get worked after deployment i have done following line of code but its still not able to display the image after deployment
String imageName = row["ImageName"].ToString();
String physicalPath = HttpContext.Current.Request.Url.AbsoluteUri.ToString();
String imagePath = physicalPath.Substring(0, physicalPath.LastIndexOf("/",
StringComparison.OrdinalIgnoreCase) + 1) + imageName;
View 3 Replies
Feb 3, 2010
If I run the site using the internal Visual Studio web server, I get the failed to map path error.
View 1 Replies
Sep 2, 2010
Is there any control which has to browse folder path alone instead of selecting folder path + file ?any server side or client side control ?
View 1 Replies
Sep 9, 2010
How do you calculate a relative path in ASP.NET MVC?
View 2 Replies
Jun 21, 2010
i use several exes for my asp.net prj. they include ffmpeg and imagemagik. I know i can easily put this in my path but i may want to switch between different version in different builds. How do i add the path based on my exe? doing it in code is ok. I'm thinking about using a prefix path as a workaround and just set the prefix path to the version i want.
View 1 Replies
Mar 15, 2010
I have a website project, I added a class project and test project on the solution. The structure of my site is like this:
C:UserslyndaDocumentsVisual Studio 2008ProjectsWorking_copywwwroot
test project:
C:UserslyndaDocumentsVisual Studio 2008ProjectsWorking_copywwwrootTestwwwroot
class project
C:UserslyndaDocumentsVisual Studio 2008ProjectsWorking_copywwwrootClassLibrary
I need to access resource file in C:UserslyndaDocumentsVisual Studio 2008ProjectsWorking_copywwwrootRescources from my test project and class library, How can I get the path:C:UserslyndaDocumentsVisual Studio 2008ProjectsWorking_copywwwroot
View 8 Replies
Nov 28, 2010
how to get the application path ? bin path in asp.net
View 2 Replies
Jan 5, 2010
I have a webform with a textbox and a button for search.when the user click on the button, he select the file to be read, and the full path of the file is showed in the textbox.
but, when i click on the import button to read the file, it gets the path of the project im using, and not the path of the file i selected.
i used this command:
[Code]....
View 8 Replies
Feb 6, 2010
My CMS writes a sitemap xml file, for google analytics, to the server whenever I create or update a page. The error is:
error Code:
Access to the path 'D:homeensamplemrweinerschnitzelandpie.comsitemap.xml' is denied.
I imagine that happens because IUSR_machineName doesn't have proper permissions. I have no issues on my development server (which is pretty much default) but to avoid this in the future, instead of having a method that writes an XML file can I just output an XML filestream? I can barely remember the reasons I used the file writing at all (caching and file dependencies maybe) and that's all been replaced.
Am I on the right path by thinking filestream is the answer or can I just write an aspx page that outputs the sitemap.xml file? Am I wrong in imagining there is a difference between the two?
View 4 Replies