HTML5¼¼Êõ

ASP.NET Core ¿ªÔ´ÂÛ̳ÏîÄ¿ NETCoreBBS - LineZero(2)

×ÖºÅ+ ×÷ÕߣºH5Ö®¼Ò À´Ô´£ºH5Ö®¼Ò 2017-07-19 15:01 ÎÒÒªÆÀÂÛ( )

private ITopicRepository _topic; private IRepositoryTopicNode _node; public UserManagerUser UserManager { get ; } public HomeController(ITopicRepository topic, IRepositoryTopicNode node, UserManagerU

private ITopicRepository _topic; private IRepository<TopicNode> _node; public UserManager<User> UserManager { get; } public HomeController(ITopicRepository topic, IRepository<TopicNode> node, UserManager<User> userManager) { _topic = topic; _node = node; UserManager = userManager; }

 

10.·¢²¼

֮ǰд¹ý¶ÔÓ¦µÄ·¢²¼ÎÄÕ ASP.NET Core ·¢²¼ÖÁLinuxÉú²ú»·¾³ Ubuntu ϵͳ

ÓÉÓÚproject.json ¸Ä³Écsproj,·¢²¼ÓÐËù±ä¶¯¡£

ĬÈÏ·¢²¼»¹ÊÇÏàͬ dotnet publish£¬×Ô´øÔËÐÐʱ·¢²¼Ê±¸ü¸Äcsproj¡£

±à¼­ NetCoreBBS.csproj

<RuntimeIdentifiers>ubuntu.14.04-x64</RuntimeIdentifiers>

ºóÐøͬÑùÊÇ dotnet publish -r ubuntu.14.04-x64

×¢ÒâÕâ¸ö½Úµã£¬Ä¬ÈÏ·¢²¼µÄ£¬·þÎñÆ÷Ò²Òª°²×°Ïàͬ°æ±¾µÄruntime¡£

<RuntimeFrameworkVersion>1.0.0</RuntimeFrameworkVersion>

 

´úÂëÀïÃ滹ÓÐһЩ´ó¼Ò¿ÉÒÔ×Ô¼ºÈ¥ÍÚ¾ò¡£

NETCoreBBS ÔÚRC2 µÄʱºò¾ÍÒѾ­¿ªÊ¼ÁË£¬ÓкܶàÈËÓ¦¸ÃÒѾ­¿´¹ýÕâ¸öÏîÄ¿£¬ÕâƪÎÄÕÂÊÇÈôó¼Ò¸üÇå³þµÄÁ˽âÕâ¸öÏîÄ¿¡£

 

¡¡

1.±¾Õ¾×ñÑ­ÐÐÒµ¹æ·¶£¬ÈκÎתÔصĸå¼þ¶¼»áÃ÷È·±ê×¢×÷ÕߺÍÀ´Ô´£»2.±¾Õ¾µÄÔ­´´ÎÄÕ£¬ÇëתÔØʱÎñ±Ø×¢Ã÷ÎÄÕÂ×÷ÕߺÍÀ´Ô´£¬²»×ðÖØÔ­´´µÄÐÐΪÎÒÃǽ«×·¾¿ÔðÈΣ»3.×÷ÕßͶ¸å¿ÉÄܻᾭÎÒÃDZ༭Ð޸Ļò²¹³ä¡£

Ïà¹ØÎÄÕÂ
  • ÊÇʲôÓÅ»¯Èà .NET Core ÐÔÄÜì­Éý£¿ - ÆÏÌѳǿؼþ¼¼ÊõÍŶÓ

    ÊÇʲôÓÅ»¯Èà .NET Core ÐÔÄÜì­Éý£¿ - ÆÏÌѳǿؼþ¼¼ÊõÍŶÓ

    2017-07-17 17:00

  • ASP.NET CoreÖ®¿çƽ̨µÄʵʱÐÔÄܼà¿Ø - GuZhenYin

    ASP.NET CoreÖ®¿çƽ̨µÄʵʱÐÔÄܼà¿Ø - GuZhenYin

    2017-07-15 13:00

  • ÔÚVisual Studio 2017ÖÐʹÓÃAsp.Net Core¹¹½¨Angular4Ó¦ÓóÌÐò - SmallProg

    ÔÚVisual Studio 2017ÖÐʹÓÃAsp.Net Core¹¹½¨Angular4Ó¦ÓóÌÐò - Sma

    2017-07-08 16:01

  • ¡¾Ô­´´¡¿ Docker ÖÐ ÔËÐÐ ASP.NET Core Õ¾µã - Meng.NET

    ¡¾Ô­´´¡¿ Docker ÖÐ ÔËÐÐ ASP.NET Core Õ¾µã - Meng.NET

    2017-07-06 11:00

ÍøÓѵãÆÀ
Ò