-
Notifications
You must be signed in to change notification settings - Fork 519
Should Html.PrimeCache be named Html.PrimeCacheAsync? #246
Comments
Yes, I think you're right! Will add that as a new overload and will mark the old one as obsolete. |
While you're at it, maybe the new overload should return |
(To give you an idea, I prototyped some potential changes to the existing implementation earlier this weekend: 4c7bdcf) |
Implemented. As per your suggestion, also changed the return type to |
* upstream/dev: Add ability to configure environment variables for Node instances, plus auto-populate NODE_ENV based on IHostingEnvironment when possible. Fixes aspnet#230 Rename PrimeCache to PrimeCacheAsync (keeping older name as obsolete overload). Fixes aspnet#246. Prerenderer now passes original (unescaped) URL to Node - fixes aspnet#250 In WebpackDevMiddleware, allow configuration of ProjectPath (implements aspnet#262)
MVC APIs that return
Task
/Task<T>
have theAsync
suffix, e.g.Html.PartialAsync
.For consistency with MVC APIs and as an indicator to developers that they should
@await
the result, shouldn'tHtml.PrimeCache
be namedHtml.PrimeCacheAsync
?The text was updated successfully, but these errors were encountered: