Thanks Bill, great articles and advice appreciate everyone's feedback.
Paul McGann
Thanks Bill, great articles and advice appreciate everyone's feedback.
Paul McGann
Thanks Benjamin, i'll keep this in mind for future.
Paul McGann
Thanks, makes more sense to me now.
Paul McGann
Hi, I was looking for some guidance on best practices regarding error handling.
public class DemoController : Controller
{
private readonly ILogger _logger;
public DemoController(ILogger logger)
{
\_logger = logger;
}
public ActionResult Index()
{
try
{
//Do something...
}
catch (Exception ex)
{
\_logger.Error(ex.ToString());
}
return View();
}
}
I was therefore wondering if anyone would have any suggestions to improve this code? Thanks
The Dark Knight
Appreciate the info. I'll do some more research and come up with a solution looking into SharpSSH which looks promising. ASP all the way
I have looked into the SFTP, and the only way of really doing this is using 3rd party component although there are some class librarys. Would another alternative be to use SSL and ftp? ASP all the way
I am doing some research into ftp. I have developed an website that allows the user to ftp files to a server. I was just wondering if there are any security implications in doing so? Any information is much appreciated. ASP all the way
Thanks David, These are the kind of solutions we have been looking into. Thanks for your input much appreciated.
I have been given the task to upload a few large files in a new project. Files sizes will be no more than 200MB. I have been doing my research on the best approach to uploading these files to the server. I was just wondering if anyone out there has tried to implement something similiar and has any advice to give? Ideally I would like to split the file into seperate files to upload and then re-combine on the server. Any comments are greatly appreciated. ASP all the way
thanks for the help
ASP all the way
Correct its over the web. It's a MSSQL database
ASP all the way
I am trying to create an application that can connect to a database on a remote server. If anyone knows how to achieve this or has any good reading material please could you let me know? Any help is much appreciated.
McGann
I haven't done this for years. but I have a linkbutton inside an itemtemplate in a datagrid see below Edit What I wish to do is show the editTemplate whenever I click the linkbutton anyone remember how to achieve this? Any help is appreciated. ASP all the way
I'll try this method and see if it works for my scenario. thanks
ASP all the way
thanks i see the problem. thanks for the advice tho.
ASP all the way
I'm trying to validate an image before uploading to the server. Basically I want to validate the image width and height before uploading. I have seen this done before using javascript but thought maybe someone would have another solution?
ASP all the way
I have been looking into search indexing, and its a bit out of my depth. I have searched around plenty of forums and sites looking for answers. I am trying to index my site locally so that when a user adds new content this shall get indexed along with the rest of the content. If anyone knows of any good articles or even tutorials to help me accomplish my task I would be most thankful. Once i have succeeded I will publish the results on the site so that others wishing to accomplish the task and modify the code to thier requirements may do so. Thanks
ASP all the way
I have been trying to embed a flash coverflow. The coverflow requires flash player version 10, I have this installed and when i tested using HTML the coverflow displayed with no problems. I then tried adding the same code to an aspx page and the file is not being displayed. Can anyone shed some light on my problem? Ant help is greatly appreciated.
ASP all the way
Thanks guys. The reason for dynamic sql is because this is part of a much larger section of code for custom paging. Again thanks
ASP all the way
I have the following code SET @sql = 'SELECT * FROM tbl_Employee WHERE tbl_Employee.Department_ID = ' + @Department_ID + AND tbl_Employee.Surname LIKE %' + @Surname + '%' If i remove the Like part it works fine but with it added it's casuing some problems. I think I'm concatenating the sql wrong. If someone can help it would be much appreciated.
ASP all the way