Search results for query: *

  1. D

    Question Custom Windows service - Send emails via SMTP

    That sounds like exactly what is happening....I will investigate further - thank you!
  2. D

    Question Custom Windows service - Send emails via SMTP

    Hi After some more testing turns out if I match the specified from address with the specific username/password I've been told to use it works. I need to properly speak to my network admin who so far is proving difficult to get hold of. Thanks for your replies, I think speaking with the network...
  3. D

    Question Custom Windows service - Send emails via SMTP

    Hi Sorry, bank holiday weekend so I haven't been to work. I have just posed the question to the server admin. Interestingly if I put the correct username and password in, it fails. But if I put the correct username in and a password which should fail, it works. I just don't understand the...
  4. D

    Question Custom Windows service - Send emails via SMTP

    Ha, that's a good question. I will have to speak with the server admin and find out! Cant believe I didn't think to consider that - thank you!
  5. D

    Question Custom Windows service - Send emails via SMTP

    Hi I have developed a windows service that receives requests to send out emails via a SQL database. Other applications populate the database and the windows service checks the database and processes the information to send out an email. I am struggling with understanding how specifying...
  6. D

    Visual Studio 2017 - adding references

    Yes, im going to try the Asp.net web application (.net framework) option.
  7. D

    Visual Studio 2017 - adding references

    Thanks guys, i'll look into the .net framework cheers Dan
  8. D

    Visual Studio 2017 - adding references

    Hi Thanks for the additional link, i'll do some reading! cheers Dan
  9. D

    Visual Studio 2017 - adding references

    Hi Thanks very much for the reply, really appreciate this and im reading through the links you've sent me now - just sending in a reply to your post. I think for me this is another place for confusion, there are lots of different ways to create a website and as a beginner it is confusing and...
  10. D

    Visual Studio 2017 - adding references

    Hi guys I am trying to access a connection string created in the web.config file of my project. Using: SqlConnection con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionStringNameFromWebConfig"].ConnectionString); Problem is...
  11. D

    Visual studio website - global variables/functions

    Hi I am trying to use session variables however I must be doing something wrong as it doesn't recognise the word Session? I tried following this https://msdn.microsoft.com/en-us/library/ms178581.aspx and it seems to describe it as pretty straight forward but its not a simple as it makes out as...
  12. D

    Visual studio website - global variables/functions

    Hi I've ran into problems with the link above - in much the same way that I seem to always fall with online tutorials. It sounded exactly what I wanted, I created the _AppStart.cshtml page (created it as a razor page) and first off I noticed that it created this: @page @model _AppStartModel @{...
  13. D

    Visual studio website - global variables/functions

    Hi, thanks guys! I'll have a read a through that site. And see if I can work out what I am doing with session variables and create a new class/s for my methods. Thanks for the help so far - appreciated! cheers Dan
  14. D

    Visual studio website - global variables/functions

    Hi Another beginner question... I'd like to setup some global variables to use within a website, such as username of an active user/a database string that multiple pages would access. Is there a suitable file to set these up in? Same goes for common functions. I've looked online for an...
  15. D

    website and cshtml?

    thanks that makes sense!
  16. D

    website and cshtml?

    Hi Thanks for the reply, so would you still write the code in html which creates the button on the razer page and then you would write the function that is called by the onclick event in c#? Or can it all be written in c# and translated to html? cheers!
  17. D

    website and cshtml?

    Hi guys Hope your all well? I'm building a website in visual studio, each page has two files to it a .cshtml and a .cshtml.cs where the .cs is clearly c# and .cshtml is html. I cant seem to find an answer as to what each one is generally used for? The beginner tutorials often have the .cs...
Back
Top Bottom