I agree with you Alex, but I couldn't make it any shorter. It will only be of use to those who don't know how to do it already. I split it into sections so people could skip through easily.
I wouldn't worry about the length, it is targeted at a technical audience who can fast forward bits they don't need. That's what I basically did - I cut'n pasted your code and then fast forwarded through you typing it on the screen :)
The important thing is that it works perfectly, the only issue I had was getting my SMTP settings right, I was trying to get GMail's mailserver working but I eventually had to abandon it but that had nothing to do with your tutorial.
sir I followed the steps as guided in the video(S02 E05 How to build a website in Umbraco version 7.6.5 - Creating the contact form with Ajax) but I have an error whenever I hit send message button I get the error partial view returned in every case somehow the success partial view is never been called. I run and inspect in the network section it always shows the error partial view message.
Tutorial - How to create a Contact Form in Umbraco using MVC and C#
Hi all I've just published a new tutorial video on YouTube. This one shows you how to create a Contact Form in Umbraco using MVC and C#
It goes through step by step how to set up the template, doc type, Model, View, Controller as well as the code to send the email.
Please have a look and give me any feedback I can bear in mind for my next video.
I have reallised I missed the display properties off the model. :^)
https://www.youtube.com/watch?v=3V0A1AYJbys
Source code here
Very good job Paul, but I think it can be little bit shorter. For me it's hard to watch 30 minutes video. But in any case great video.
Thanks,
Alex
I agree with you Alex, but I couldn't make it any shorter. It will only be of use to those who don't know how to do it already. I split it into sections so people could skip through easily.
It will also be useful if you can release the source code (e.g. gist), just to go straight to code if you have any difficulty :-)
Good work and thanks
Hi Tahir I'll be writing up a quick blog post with the source code tonight. I'll include a link on here and in the video description. Thanks
Updated original post with source code link http://www.codeshare.co.uk/blog/how-to-create-a-contact-form-in-umbraco-using-mvc-and-c/
I've just used this tutorial and it is excellent.
I wouldn't worry about the length, it is targeted at a technical audience who can fast forward bits they don't need. That's what I basically did - I cut'n pasted your code and then fast forwarded through you typing it on the screen :)
The important thing is that it works perfectly, the only issue I had was getting my SMTP settings right, I was trying to get GMail's mailserver working but I eventually had to abandon it but that had nothing to do with your tutorial.
Well done, a useful resource for learners.
sir I followed the steps as guided in the video(S02 E05 How to build a website in Umbraco version 7.6.5 - Creating the contact form with Ajax) but I have an error whenever I hit send message button I get the error partial view returned in every case somehow the success partial view is never been called. I run and inspect in the network section it always shows the error partial view message.
is working on a reply...