Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CAP
Commits
129b7f7a
Commit
129b7f7a
authored
Sep 22, 2017
by
yangxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update samples.
parent
1a06783c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Sample.Kafka.SqlServer.csproj
samples/Sample.Kafka.SqlServer/Sample.Kafka.SqlServer.csproj
+1
-0
Startup.cs
samples/Sample.Kafka.SqlServer/Startup.cs
+3
-1
No files found.
samples/Sample.Kafka.SqlServer/Sample.Kafka.SqlServer.csproj
View file @
129b7f7a
...
...
@@ -8,6 +8,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore" Version="2.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Session" Version="2.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.0.0" />
...
...
samples/Sample.Kafka.SqlServer/Startup.cs
View file @
129b7f7a
...
...
@@ -26,7 +26,7 @@ namespace Sample.Kafka.SqlServer
d
.
NodeName
=
"CAP 2号节点"
;
});
});
services
.
AddSession
();
services
.
AddMvc
();
}
...
...
@@ -35,6 +35,8 @@ namespace Sample.Kafka.SqlServer
loggerFactory
.
AddConsole
();
loggerFactory
.
AddDebug
();
app
.
UseSession
();
app
.
UseMvc
();
app
.
UseCap
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment