#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2012
    Posts
    2
    Rep Power
    0

    Fresh .net developer


    Hello guys,

    Can you give a project. I am newly hired .Net Developer in the company and I don't have a project yet I want to make myself busy. Anyone could give me a simple website project.


    Thanks,

    rbMazter
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,115
    Rep Power
    9398
    Project Suggestions

    It's a bit light on the color, isn't it? I should change that.
  4. #3
  5. No Profile Picture
    Banned
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    14
    Rep Power
    0
    hi rbmazter, I can give you a project. It is very good to make yourself busy but let me know of your experience details really i can give you a project just give me your experience details..
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2012
    Posts
    2
    Rep Power
    0

    Please help me!


    Programmers: Need Help!
    using System.Net.Mail;
    namespace MvcMembership
    {
    public interface ISmtpClient
    {
    void Send(MailMessage mailMessage);
    }
    }

    using System.Net.Mail;
    namespace MvcMembership
    {
    public class SmtpClientProxy : ISmtpClient
    {
    private readonly SmtpClient _smtpClient;
    public SmtpClientProxy()
    {
    _smtpClient = new SmtpClient();
    }

    public SmtpClientProxy(SmtpClient smtpClient)
    {
    _smtpClient = smtpClient;
    }

    #region ISmtpClient Members

    public void Send(MailMessage mailMessage)
    {
    _smtpClient.Send(mailMessage);
    }

    #endregion
    }
    }

    [AcceptVerbs(HttpVerbs.Post)]
    public RedirectToRouteResult ResetPassword(Guid id)
    {
    var user = _userService.Get(id);
    var newPassword = _passwordService.ResetPassword(user);

    var body = ResetPasswordBody + newPassword;
    var msg = new MailMessage();
    msg.To.Add(user.Email);
    msg.Subject = ResetPasswordSubject;
    msg.Body = body;

    _smtpClient.Send(msg);

    return RedirectToAction("Password", new { id });
    }

    ERROR:
    Server Error in '/' Application.
    Syntax error, command unrecognized. The server response was: Syntax error, command unrecognized.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Net.Mail.SmtpException: Syntax error, command unrecognized. The server response was: Syntax error, command unrecognized.

    Source Error:

    Line 19: public void Send(MailMessage mailMessage)
    Line 20: {
    Line 21: _smtpClient.Send(mailMessage);
    Line 22: }
    Line 23:

    Source File: C:\Users\STS-Admin\Documents\Visual Studio 2010\Projects\WikiUserManagement\src\MvcMembership\SmtpClientProxy.cs Line: 21
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    1
    Rep Power
    0

    Thanks


    Thanks to all for this informative post...

IMN logo majestic logo threadwatch logo seochat tools logo